:root {
  /* Main text colors */
  --text-primary: #23304a;
  --text-secondary: #3a6cff;
  --text-tertiary: #7ecbff;
  --text-quaternary: #b3e0ff;
  --text-disabled: #949498;
  --text-inverse: #ffffff;
  --text-danger: #FF602E;
  --text-warning: #b3e0ff;
  --text-success: #18C362;
  --text-info: #05A8FF;
  --text-brand: #3a6cff;
  
  /* Page colors */
  --page-background: #ffffff;
  --page-secondary: #b3e0ff;
  --page-inverse: #23304a;
  
  /* Background colors */
  --bg-neutral: #ffffff;
  --bg-neutral-secondary: #b3e0ff;
  --bg-inverse: #3a6cff;
  
  /* Icon colors */
  --icon-primary: #3a6cff;
  --icon-secondary: #7ecbff;
  --icon-tertiary: #b3e0ff;
  --icon-disabled: #B5B6BA;
  --icon-grey: #63666E;
  --icon-brand: #3a6cff;
  
  /* Fill colors */
  --fill-primary: #3a6cff;
  --fill-secondary: #7ecbff;
  --fill-inverse: #ffffff;
  --fill-accent: #b3e0ff;
  
  /* Border colors */
  --border: #b3e0ff;
  
  /* Additional colors */
  --primary: #3a6cff;
  --primary-container: #b3e0ff;
  --secondary: #7ecbff;
  --secondary-container: #b3e0ff;
  --surface: #ffffff;
  --outline: #b3e0ff;

  /* Animation easings */
  --ease-main: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--page-background);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Site header */
header {
  background-color: var(--bg-neutral);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(205, 183, 158, 0.2);
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-brand);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 30px;
  width: auto;
  margin-right: 8px;
  border-radius: 50%;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--fill-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-main);
}

.logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-main);
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Main content */
main {
  padding: 40px 0;
}

.section {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s var(--ease-main) forwards;
}

.section:nth-child(2) {
  margin-top: 0;
  padding-top: 0;
  animation-delay: 0.1s;
}

.section:nth-child(3) {
  animation-delay: 0.2s;
}

.section:nth-child(4) {
  animation-delay: 0.3s;
}

.section:nth-child(5) {
  animation-delay: 0.4s;
}

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

h1 {
  font-size: 42px;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fill-accent);
}

h3 {
  font-size: 24px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.6;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s var(--ease-in-out);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(58, 108, 255, 0.15);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.button:hover {
  background: var(--secondary);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 108, 255, 0.3);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(58, 108, 255, 0.2);
}

.button-secondary {
  background: var(--fill-accent);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(179, 224, 255, 0.3);
}

.button-secondary:hover {
  background: var(--secondary);
  color: var(--text-inverse);
}

/* Footer */
footer, .legal-footer {
  min-height: 80px;
  padding-top: 32px;
  padding-bottom: 100px;
  background: #fff;
  color: var(--text-primary);
  font-size: 16px;
  border-top: 1px solid var(--border);
}

.footer-inner, .legal-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-main);
}

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

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-contact {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-main);
}

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

.footer-contact a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-inner, 
  .footer-inner,
  .legal-footer {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 15px;
    gap: 20px;
  }
  
  .footer-links {
    margin-top: 15px;
  }
  
  .footer-contact {
    margin-top: 5px;
    text-align: center;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  footer, .legal-footer {
    min-height: 100px;
    padding-top: 24px;
    padding-bottom: 120px;
    font-size: 15px;
  }
  .footer-inner, .legal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Improved spacing for slider section */
@media (min-width: 992px) {
  .comparison-slider-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.feature-list {
  list-style-type: none;
  margin-bottom: 30px;
}

.feature-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.feature-list li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--text-warning);
}

.how-it-works-section {
  background-color: var(--page-secondary);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-in-out), box-shadow 0.3s var(--ease-in-out);
}

.how-it-works-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--bg-neutral);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
    margin-left: 0;
  }
  
  .header-inner {
    position: relative;
  }

  .two-column {
    flex-direction: column;
  }
  
  .before-after-container {
    flex-direction: column;
  }
  
  .hero-image {
    min-height: 250px;
  }
  
  .process-image, 
  .feature-image,
  .before-after-image {
    min-height: 180px;
  }
}

/* Image placeholders and image styles */
.img-placeholder {
  background-color: var(--bg-neutral-secondary);
  border: 1px dashed var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--text-tertiary);
  font-style: italic;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-in-out);
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

.img-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-image {
  min-height: 400px;
  margin-bottom: 30px;
}

.feature-image {
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.process-image {
  min-height: 250px;
}

.before-after-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.before-after-image {
  flex: 1;
  min-height: 300px;
  transition: transform 0.3s var(--ease-bounce);
}

.before-after-image:hover {
  transform: scale(1.03);
}

.app-screenshot {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 30px auto;
  overflow: hidden;
  transition: transform 0.5s var(--ease-bounce);
}

.app-screenshot:hover {
  transform: scale(1.02);
}

/* Flexbox layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

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

@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-neutral);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-in-out), box-shadow 0.3s var(--ease-in-out);
  border: 1px solid rgba(205, 183, 158, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.two-column {
  display: flex;
  gap: 40px;
  align-items: center;
}

.column {
  flex: 1;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  color: var(--text-primary);
}

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

.cookie-banner a:hover {
  color: var(--secondary);
}

.cookie-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--primary);
  color: var(--text-inverse);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cookie-banner .btn:hover {
  background: var(--secondary);
}

.cookie-banner .btn-secondary {
  background: var(--fill-accent);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cookie-banner .btn-secondary:hover {
  background: var(--primary);
  color: var(--text-inverse);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .cookie-banner p {
    font-size: 0.9rem;
  }
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .cookie-banner p {
    font-size: 0.9rem;
  }
}

/* Basic Button Styles for Cookie Banner */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background: #45a049;
}

.btn-primary {
  background: #4CAF50;
}

.btn-primary:hover {
  background: #45a049;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #4CAF50;
  color: #4CAF50;
}

.btn-secondary:hover {
  background: #4CAF50;
  color: white;
}

/* Styles for combined Hero section */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-section .comparison-slider-wrapper {
  margin-top: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
  }
  
  .hero-section {
    gap: 20px;
    margin-bottom: 40px;
  }
}

/* Styles for CTA section */
.cta-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(244, 240, 235, 0.7) 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(205, 183, 158, 0.2);
  max-width: 1000px;
  margin: 0 auto 60px;
}

.cta-section h2 {
  margin-bottom: 30px;
}

.cta-section .app-screenshot {
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .cta-section p {
    font-size: 16px;
  }
  
  .app-screenshot {
    margin: 20px auto;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .feature-image {
    height: 160px;
  }
}

/* Styles for support section */
.support-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(244, 240, 235, 0.8) 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(205, 183, 158, 0.2);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.support-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.support-form-container {
  max-width: 600px;
  margin: 30px auto 0;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--text-tertiary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fill-accent);
  box-shadow: 0 0 0 2px rgba(230, 199, 72, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form button {
  align-self: center;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .support-section {
    padding: 30px 20px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* New styles for nav-button */
.nav-button {
  background: var(--fill-accent);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
  border: none;
}

.nav-button:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 10px rgba(58, 108, 255, 0.15);
}

/* Improved sticky legal header styles to match screenshot */
.legal-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.06);
  border-bottom: none;
  padding: 0 40px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
}
.legal-header-sticky .logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 700;
  color: #23304a;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.legal-header-sticky .logo img {
  height: 40px;
  width: 40px;
  margin-right: 14px;
  border-radius: 50%;
}
.legal-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-nav ul li a {
  color: #23304a;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  padding: 4px 0;
  transition: color 0.2s;
  position: relative;
}
.legal-nav ul li a:hover {
  color: #3a6cff;
}
@media (max-width: 900px) {
  .legal-header-sticky {
    padding: 0 16px;
  }
  .legal-nav ul {
    gap: 18px;
  }
  .legal-header-sticky .logo {
    font-size: 22px;
  }
  .legal-header-sticky .logo img {
    height: 32px;
    width: 32px;
    margin-right: 10px;
  }
  .legal-nav ul li a {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .legal-header-sticky {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 56px;
    padding: 8px 8px;
  }
  .legal-nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .legal-header-sticky .logo {
    font-size: 18px;
  }
  .legal-header-sticky .logo img {
    height: 28px;
    width: 28px;
    margin-right: 8px;
  }
  .legal-nav ul li a {
    font-size: 15px;
  }
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 700px) {
  .legal-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.legal-content {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 1520px) {
  .legal-content {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
} 