/* SnapShare Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  /* Color System - HSL Values based on design.md */
  --background-hsl: 208 43% 95%; /* #EEF4F8 */
  --foreground-hsl: 210 40% 9.8%; /* #15212C */
  --card-hsl: 208 43% 98%; /* #F6FAFC */
  --primary-hsl: 209 60% 71%; /* #89B6E2 */
  --primary-dark-hsl: 209 46% 37%; /* #33628a */
  --accent-hsl: 257 60% 71%; /* #A089E2 */
  --secondary-hsl: 210 40% 96.1%; /* #F1F5F9 */
  --muted-hsl: 210 40% 92.1%; /* #E7EDF3 */
  --destructive-hsl: 0 84.2% 60.2%; /* #EF4444 */
  --border-hsl: 210 30% 85.8%; /* #CBD7E1 */
  --ring-hsl: 209 60% 71%;

  /* Color Variables */
  --background: hsl(var(--background-hsl));
  --foreground: hsl(var(--foreground-hsl));
  --card: hsl(var(--card-hsl));
  --primary: hsl(var(--primary-hsl));
  --primary-dark: hsl(var(--primary-dark-hsl));
  --accent: hsl(var(--accent-hsl));
  --secondary: hsl(var(--secondary-hsl));
  --muted: hsl(var(--muted-hsl));
  --destructive: hsl(var(--destructive-hsl));
  --border: hsl(var(--border-hsl));
  --ring: hsl(var(--ring-hsl));

  /* Layout and Geometry */
  --radius: 0.5rem; /* 8px */
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.25rem;
  --container-max: 1400px;
  --header-height: 70px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.dark {
  --background-hsl: 210 40% 9.8%;
  --foreground-hsl: 0 0% 98%;
  --card-hsl: 210 40% 12%;
  --secondary-hsl: 210 40% 14.9%;
  --muted-hsl: 210 40% 14.9%;
  --border-hsl: 210 40% 18%;
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'PT Sans', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem; /* 36px */
}

h2 {
  font-size: 1.875rem; /* 30px */
}

h3 {
  font-size: 1.5rem; /* 24px */
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

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

/* Sticky Header styling */
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(238, 244, 248, 0.85); /* background transparent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(238, 244, 248, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
}

.logo-text span.brand-name {
  line-height: 1;
}

.logo-text span.brand-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-align: right;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  opacity: 0.85;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  opacity: 1;
}

/* Use cases dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1100;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.dropdown-link:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
}

.dropdown-link svg {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
}

/* Mobile navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #264a69;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--card);
  border-color: var(--border);
  color: var(--foreground);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background-color: rgba(51, 98, 170, 0.05);
}

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

.btn-ghost:hover {
  background-color: var(--secondary);
}

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

.btn-white:hover {
  background-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(137, 182, 226, 0.15) 0%, rgba(238, 244, 248, 0) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.hero-title .accent-text {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--foreground);
  opacity: 0.8;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--background);
  margin-left: -8px;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.social-proof-text {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 700;
}

/* Hero Collage */
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
}

.collage-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.collage-item.large {
  grid-row: span 2;
  height: 100%;
}

/* Process Section */
.process-section {
  padding: 6rem 0;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 3.5rem;
}

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

.process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.process-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card:nth-child(1) .process-icon-wrapper {
  background-color: rgba(137, 182, 226, 0.2);
  color: var(--primary-dark);
}

.process-card:nth-child(2) .process-icon-wrapper {
  background-color: rgba(160, 137, 226, 0.2);
  color: var(--accent);
}

.process-card:nth-child(3) .process-icon-wrapper {
  background-color: rgba(137, 226, 182, 0.2);
  color: #10b981;
}

.process-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.process-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Features / Curation Section */
.curation-section {
  padding: 6rem 0;
  background-color: rgba(137, 182, 226, 0.08);
  position: relative;
}

/* Watermark background logos */
.curation-section::before, .curation-section::after {
  content: 'RK';
  position: absolute;
  font-family: inherit;
  font-size: 12rem;
  font-weight: 700;
  opacity: 0.03;
  color: var(--primary-dark);
  pointer-events: none;
}

.curation-section::before {
  top: 2rem;
  left: 2rem;
}

.curation-section::after {
  bottom: 2rem;
  right: 2rem;
}

.curation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.curation-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(137, 182, 226, 0.15);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.badge-tag svg {
  width: 14px;
  height: 14px;
}

.pill-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--foreground);
}

.pill-card svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
}

/* Collage Right */
.curation-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 240px 200px;
  gap: 1rem;
}

.curation-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.curation-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curation-item.top-left {
  grid-column: span 1;
  grid-row: span 1;
}

.curation-item.top-right {
  grid-column: span 1;
  grid-row: span 1;
}

.curation-item.bottom-left {
  grid-column: span 1;
  grid-row: span 1;
}

.curation-item.bottom-right {
  grid-column: span 1;
  grid-row: span 1;
}

.curation-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.curation-sparkle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curation-sparkle svg {
  width: 16px;
  height: 16px;
}

/* Use cases section */
.use-cases-section {
  padding: 6rem 0;
}

.use-cases-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.use-cases-header div {
  max-width: 600px;
}

.use-cases-header a {
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.use-cases-header a:hover {
  text-decoration: underline;
}

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

.use-case-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.use-case-img-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.use-case-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-case-card:hover .use-case-img-wrapper img {
  transform: scale(1.05);
}

.use-case-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.use-case-content h3 {
  font-size: 1.35rem;
  color: var(--foreground);
}

.use-case-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
}

.stats-section .section-tag {
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

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

/* Pricing Cards */
.pricing-section {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  background-color: #1e3a54; /* darker blue */
  border-color: #1e3a54;
  color: white;
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.pricing-card:not(.popular):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: #9c27b0;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-dark);
}

.pricing-card.popular .pricing-icon {
  color: var(--primary);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}

.price-suffix {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.75;
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-card.popular .pricing-features li svg {
  color: #34d399;
}

.pricing-features li.premium-feature {
  color: var(--accent);
  font-weight: 700;
}

.pricing-card.popular .pricing-features li.premium-feature {
  color: #cfbdff;
}

.pricing-features li.premium-feature svg {
  color: var(--accent);
}

.pricing-card.popular .pricing-features li.premium-feature svg {
  color: #cfbdff;
}

/* Comparison Table */
.comparison-section {
  padding: 5rem 0;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-table-wrapper {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: white;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background-color: var(--primary-dark);
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table th:not(:first-child) {
  text-align: center;
  width: 20%;
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

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

.comparison-table tr:hover td {
  background-color: rgba(238, 244, 248, 0.5);
}

.comparison-table td strong {
  color: var(--primary-dark);
}

/* FAQ Accordions */
.faq-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.faq-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

details.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

details.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

details.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Custom indicator instead of standard arrow */
details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--primary-dark);
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
}

/* Ready to Start / CTA Box */
.cta-box-section {
  padding: 4rem 0 6rem 0;
}

.cta-box {
  background-color: rgba(137, 182, 226, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-text h2 {
  font-size: 2rem;
}

.cta-text p {
  font-size: 1.1rem;
  opacity: 0.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

/* Footer styles */
footer.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.footer-links-column a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links-column a:hover {
  opacity: 1;
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

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

/* Modal Dialog general styling */
dialog.custom-dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  margin: auto;
  background-color: var(--card);
}

dialog.custom-dialog::backdrop {
  background-color: rgba(21, 33, 44, 0.4);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.dialog-header h3 {
  font-size: 1.5rem;
}

.btn-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  opacity: 0.6;
}

.btn-close:hover {
  opacity: 1;
}

.btn-close svg {
  width: 20px;
  height: 20px;
}

.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
}

.form-group input, .form-group textarea, .form-group select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: white;
  color: var(--foreground);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(137, 182, 226, 0.4);
}

/* Toast container styling */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  background-color: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-dark);
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Sparkles animation and loader */
.sparkle-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 2rem auto;
}

.sparkle-icon {
  position: absolute;
  color: var(--primary-dark);
}

.sparkle-1 {
  width: 24px;
  height: 24px;
  top: 10px;
  left: 10px;
  animation: float-sparkle 2s ease-in-out infinite alternate;
}

.sparkle-2 {
  width: 32px;
  height: 32px;
  bottom: 12px;
  right: 12px;
  color: var(--accent);
  animation: float-sparkle 2.5s ease-in-out infinite alternate-reverse;
}

.sparkle-3 {
  width: 16px;
  height: 16px;
  top: 15px;
  right: 15px;
  color: #10b981;
  animation: float-sparkle 1.8s ease-in-out infinite alternate;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(137, 182, 226, 0.2);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float-sparkle {
  0% { transform: translateY(0) scale(0.8); opacity: 0.5; }
  100% { transform: translateY(-8px) scale(1.1); opacity: 1; }
}

/* Use cases details templates specific styles */
.hero-usecase {
  background-color: var(--card);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.usecase-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.problem-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.problem-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.problem-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.problem-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background-color: var(--surface-muted, #fef2f2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--danger, #e05252);
}

.usecase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 5rem 0;
}

.usecase-feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usecase-feature-card svg {
  width: 32px;
  height: 32px;
  color: var(--primary-dark);
}

/* Live Photo Grid for display demonstration */
.gallery-section {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.photo-card {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card:hover .photo-scrim {
  opacity: 1;
}

.photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.photo-card:hover .photo-info {
  transform: translateY(0);
  opacity: 1;
}

.photo-author {
  font-size: 0.85rem;
  font-weight: 700;
}

.photo-actions {
  display: flex;
  gap: 0.75rem;
}

.like-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  color: white;
}

.like-badge:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.like-badge.liked svg {
  fill: var(--destructive);
  color: var(--destructive);
}

.like-badge svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.like-badge:active svg {
  transform: scale(1.3);
}

/* Mobile responsive fixes */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid, .curation-grid, .usecase-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-collage, .curation-collage {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden on mobile, toggled via menu */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-actions {
    display: none;
  }
  
  .process-grid, .use-case-grid, .pricing-grid, .stats-grid, .usecase-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  
  .cta-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Mobile menu active state */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-links.mobile-active .nav-item-dropdown .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
}
