/* CSS Custom Properties */
:root {
  /* Primary Colors */
  --primary-color: #10b981;
  --primary-dark: #059669;
  --primary-light: rgba(16, 185, 129, 0.1);
  --primary-shadow: rgba(16, 185, 129, 0.4);
  --primary-shadow-hover: rgba(16, 185, 129, 0.6);

  /* Neutral Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  /* Success Color */
  --success-color: #10b981;

  /* Error Color */
  --error-color: #ef4444;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

*:before,
*:after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cabin", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100vw;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Typography */
h1,
h2,
.footer-title,
.worker-cta h3,
.app-header h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  letter-spacing: -5px;
}

h2 {
  letter-spacing: -3px;
}

.footer-title,
.worker-cta h3 {
  letter-spacing: -1px;
}

.app-header h3 {
  letter-spacing: -1px;
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* Better touch target */
  min-width: 44px; /* Better touch target */
  touch-action: manipulation; /* Prevents double-tap zoom */
}

.btn::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.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--primary-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-shadow-hover);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-small {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  min-width: 100px;
  font-family: inherit;
  border-radius: 10px;
  display: block;
}

.nav-mobile-auth {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  gap: 6rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
  z-index: 2;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-label {
  display: inline-block;
  /*background: rgba(245, 158, 11, 0.1);*/
  background: rgba(11, 140, 245, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.7rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 80%;
}

.hero-buttons {
  display: flex;
  margin-bottom: 3rem;
  align-items: center;
}

.download-badge {
  display: inline-block;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.download-badge img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 8px;
}

.download-badge:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.phone-mockup {
  width: 320px;
  height: 690px;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 50px;
  padding: 8px;
  position: relative;
  box-shadow: 0 0 0 2px #444, 0 0 0 4px #666, 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 3;
}

.phone-mockup::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: #0a0a0a;
  border-radius: 12px;
  z-index: 4;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border-color);
}

.app-interface {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 42px;
}

.app-header {
  padding: 50px 20px 20px;
  margin-bottom: 20px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.status-icons {
  display: flex;
  gap: 6px;
  color: var(--text-primary);
}

.app-header h3 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
}

.qr-scanner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.scanner-frame {
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  position: relative;
  margin-bottom: 30px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-frame::before,
.scanner-frame::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 4px solid var(--primary-color);
}

.scanner-frame::before {
  top: -3px;
  left: -3px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 20px;
}

.scanner-frame::after {
  bottom: -3px;
  right: -3px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 20px;
}

.scanner-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  position: absolute;
  top: 50%;
  animation: scanLine 2s ease-in-out infinite;
}

.scanner-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.wallet-balance {
  background: var(--bg-secondary);
  padding: 15px 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.balance-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.balance-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  transition: opacity 0.3s ease;
}

/* Background Elements */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  bottom: -5%;
  left: -5%;
  animation-delay: 2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1 1 380px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem; /* Reduced margin from 1.5rem */
  font-size: 1.5rem;
  color: white;
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0; /* Remove bottom margin */
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step:nth-child(even) > * {
  direction: ltr;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.step-content {
  flex: 1;
  padding: 2rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.step-description {
  color: #6b7280;
  line-height: 1.6;
}

.step-visual {
  width: 120px;
  height: 120px;
}

.visual-card {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.visual-card:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 40px var(--primary-shadow);
}

/* Digital Transformation Section */
.digital-transformation {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.transformation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transformation-text .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.transformation-text .section-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.transformation-text .section-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

.transformation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 20px;
  color: white;
}

.stat-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
}

.stat-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.transformation-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-item i {
  color: var(--primary-color);
  font-size: 18px;
}

.highlight-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

.transformation-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.main-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px;
  color: white;
}

.overlay-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overlay-content i {
  font-size: 24px;
  color: var(--primary-color);
}

.overlay-content span {
  font-size: 1.2rem;
  font-weight: 600;
}

.floating-elements {
  position: absolute;
  top: 40px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.floating-stat {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 16px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}

.floating-stat:nth-child(2) {
  animation-delay: 1.5s;
}

.floating-stat i {
  color: var(--primary-color);
  font-size: 16px;
}

/* Floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Benefits to Workers Section */
.benefits {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.05));
  z-index: 1;
}

.benefits .container {
  position: relative;
  z-index: 2;
}

.benefits-content {
  display: flex;
  gap: 6rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.benefits-text {
  flex: 1.2;
}

.benefit-highlight {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.highlight-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-content {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-primary);
}

.benefit-phrase {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.benefits-stats {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
}

.stat-highlight {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-highlight .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-highlight .stat-unit {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.stat-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.worker-quote {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
}

.worker-quote blockquote {
  margin: 0;
}

.worker-quote p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.worker-quote cite {
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
  font-size: 0.9rem;
}

.worker-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-primary);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.worker-cta h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.worker-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.worker-cta .btn {
  font-size: 1.1rem;
  padding: 14px 28px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-content {
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 20px;
  color: #6b7280;
  font-size: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  left: 16px;
  font-size: 0.875rem;
  color: #667eea;
  background: white;
  padding: 0 8px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
}

.footer-main {
  background: #ffffff;
  color: var(--text-primary);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo-section {
  max-width: 250px;
  margin-top: -20px;
}

.footer-logo {
  width: auto;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 50px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #e5e7eb;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-link:hover {
  color: var(--primary-color);
  background-color: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.social-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links .footer-text {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-download-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-download-badge {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
  width: 140px;
}

.footer-download-badge.google-play img {
  width: 150px;
  height: 50px;
}

.footer-download-badge:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-download-badge img {
  height: 48px;
  width: 140px;
  object-fit: contain;
}

.footer-bottom {
  background: #1a1a1a;
  text-align: center;
  color: #9ca3af;
  padding: 25px 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes scanLine {
  0% {
    top: 10%;
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    top: 90%;
    opacity: 1;
  }
}

/* Large Screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1600px;
    padding: 0 60px;
  }

  .hero-container {
    padding: 0 4rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    letter-spacing: -3px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 1rem 2rem;
  }

  .hero-container {
    gap: 4rem;
    padding: 0 2rem;
  }

  .contact-content {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  h1 {
    letter-spacing: -3px;
  }

  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    transform: none;
    left: -100%;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-auth {
    display: none;
  }

  .nav-mobile-auth {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Hero Section Mobile */
  .hero {
    padding: 120px 0 60px; /* Increased top padding for better spacing */
    min-height: 100vh; /* Ensure full height */
    width: 100%;
    overflow-x: hidden;
  }

  .hero-container {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-label {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    align-items: center;
  }

  .download-badge {
    margin-right: 0;
    width: 200px;
    max-width: 90%;
  }

  .hero-stats {
    gap: 1.5rem;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Phone Mockup Mobile */
  .phone-mockup {
    width: 300px; /* Increased from 280px */
    height: 650px; /* Increased from 600px */
  }

  .app-header h3 {
    font-size: 26px; /* Increased from 24px */
  }

  .scanner-frame {
    width: 170px; /* Increased from 160px */
    height: 170px; /* Increased from 160px */
  }

  .balance-amount {
    font-size: 22px; /* Increased from 20px */
  }

  /* Sections Mobile */
  .features,
  .how-it-works,
  .contact {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .section-description {
    font-size: 1rem;
  }

  /* Features Mobile */
  .features {
    padding: 60px 0 40px; /* Reduced bottom padding */
  }

  .features-grid {
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap between cards */
  }

  .feature-card {
    flex: none;
  }

  .feature-icon {
    width: 100px; /* Increased from 90px */
    height: 100px; /* Increased from 90px */
    font-size: 2.5rem; /* Increased from 2.2rem */
    margin-bottom: 0.8rem; /* Reduced from 1rem */
  }

  .feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem; /* Reduced spacing */
  }

  .feature-description {
    font-size: 1rem;
    margin-bottom: 0; /* Remove bottom margin */
  }

  /* How It Works Mobile */
  .step {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .step:nth-child(even) {
    flex-direction: column;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-content {
    padding: 1rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-visual {
    width: 100px;
    height: 100px;
  }

  .visual-card {
    font-size: 2rem;
  }

  /* Digital Transformation Mobile */
  .digital-transformation {
    padding: 60px 0;
  }

  .transformation-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    align-items: center;
    justify-items: center;
  }

  .transformation-text .section-header {
    text-align: center;
  }

  .transformation-text .section-title {
    font-size: 2rem;
  }

  .transformation-text .section-description {
    font-size: 1rem;
  }

  .transformation-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }

  .stat-card {
    padding: 15px 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .stat-icon {
    margin-bottom: 5px;
  }

  .stat-content h3 {
    font-size: 1.5rem;
  }

  .main-image {
    height: 350px;
  }

  .floating-elements {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .floating-stat {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .transformation-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .highlight-item i {
    font-size: 24px;
    margin-bottom: 4px;
  }

  /* Benefits Mobile */
  .benefits {
    padding: 60px 0;
    width: 100%;
    overflow-x: hidden;
  }

  .benefits .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .benefits-content {
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
  }

  .benefit-highlight {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    width: 100%;
  }

  .highlight-icon {
    align-self: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .benefit-content {
    text-align: center;
    display: block;
    gap: 0.25rem;
    width: 100%;
  }

  .benefit-icon {
    align-self: center;
  }

  .benefits-stats {
    gap: 1.5rem;
  }

  .stats-card {
    padding: 1.5rem;
  }

  .stat-highlight .stat-number {
    font-size: 2.5rem;
  }

  .worker-quote {
    padding: 1.5rem;
  }

  .worker-cta {
    padding: 2rem 1.5rem;
  }

  .worker-cta h3 {
    font-size: 1.5rem;
  }

  /* Contact Mobile */
  .contact {
    min-height: 100vh; /* Ensure full height on tablet/mobile */
    padding: 80px 0 40px; /* Increased top padding, reduced bottom */
    width: 100vw;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .contact .container {
    padding: 0 !important;
    width: 100vw;
    max-width: none !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
    min-height: 85vh; /* Increased content height */
    width: 100vw;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-form {
    padding: 2rem;
    min-height: 75vh; /* Increased form height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }

  .contact-info {
    text-align: center;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.75rem;
  }

  .contact-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Form Mobile */
  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .form-group label {
    font-size: 16px;
    top: 14px;
    left: 16px;
  }

  .form-group input:focus + label,
  .form-group input:valid + label,
  .form-group textarea:focus + label,
  .form-group textarea:valid + label {
    font-size: 0.8rem;
    top: -8px;
    left: 12px;
  }
}

@media (max-width: 480px) {
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  h1 {
    letter-spacing: -3px;
  }

  .container {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
  }

  .nav-container {
    padding: 0.8rem 1rem;
  }

  .nav-logo {
    font-size: 20px;
  }

  .logo-img {
    height: 35px;
  }

  /* Hero Mobile Small */
  .hero {
    padding: 120px 0 40px; /* Increased top padding for mobile */
    min-height: 100vh; /* Ensure full height on mobile */
    width: 100%;
    overflow-x: hidden;
  }

  .hero-container {
    padding: 0 1rem;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-label {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    width: 100%;
  }

  .download-badge {
    width: 180px;
    max-width: 85%;
  }

  .hero-stats {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Phone Mockup Small */
  .phone-mockup {
    width: 260px; /* Increased from 220px */
    height: 520px; /* Increased from 480px */
  }

  .app-header {
    padding: 45px 18px 18px; /* Slightly increased padding */
  }

  .app-header h3 {
    font-size: 22px; /* Slightly increased from 20px */
  }

  .scanner-frame {
    width: 150px; /* Increased from 140px */
    height: 150px; /* Increased from 140px */
    margin-bottom: 20px;
  }

  .scanner-text {
    font-size: 15px; /* Increased from 14px */
  }

  .wallet-balance {
    padding: 15px 18px; /* Increased from 12px 15px */
  }

  .balance-amount {
    font-size: 18px;
  }

  /* Sections Small Mobile */
  .features {
    padding: 60px 0 30px; /* Reduced bottom padding */
  }

  .how-it-works,
  .contact {
    padding: 60px 0; /* Keep original padding for other sections */
    min-height: auto; /* Allow natural height expansion */
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  /* Features Small Mobile */
  .features-grid {
    gap: 1.2rem; /* Further reduced gap */
  }

  .feature-card {
    flex: none;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.25rem; /* Increased from 1.8rem */
    margin-bottom: 1.5rem; /* Reduced spacing */
  }

  .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem; /* Reduced spacing */
  }

  .feature-description {
    font-size: 0.9rem;
    margin-bottom: 0; /* Remove bottom margin */
  }

  /* How It Works Small Mobile */
  .step {
    gap: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .step-content {
    padding: 0.5rem;
  }

  .step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  .step-visual {
    width: 80px;
    height: 80px;
  }

  .visual-card {
    font-size: 1.5rem;
  }

  /* Benefits Small Mobile */
  .benefits {
    padding: 60px 0 30px;
    width: 100%;
    overflow-x: hidden;
  }

  .benefits .container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .benefits-content {
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
  }

  .benefit-highlight {
    padding: 1rem;
    width: 100%;
  }

  .highlight-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .highlight-content h3 {
    font-size: 1.25rem;
  }

  .benefits-grid {
    gap: 1rem;
    width: 100%;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .benefit-item h4 {
    font-size: 1rem;
  }

  .benefit-phrase {
    font-size: 0.85rem;
  }

  .stats-card {
    padding: 1.25rem;
  }

  .stat-highlight .stat-number {
    font-size: 2rem;
  }

  .stat-highlight .stat-unit {
    font-size: 1.25rem;
  }

  .worker-quote {
    padding: 1.25rem;
  }

  .worker-quote p {
    font-size: 0.9rem;
  }

  .worker-cta {
    padding: 1.5rem 1rem;
  }

  .worker-cta h3 {
    font-size: 1.25rem;
  }

  .worker-cta p {
    font-size: 1rem;
  }

  /* Footer Tablet */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-logo-section {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 16px;
    display: block;
  }

  .footer-social {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .footer-download-buttons {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  /* Contact Small Mobile */
  .contact {
    min-height: 100vh; /* Ensure contact section takes full height on mobile */
    padding: 80px 0 20px; /* Increased top padding, reduced bottom */
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .contact-content {
    min-height: 90vh; /* Increased content area height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 500px; /* Limit content width for readability */
    margin: 0 auto; /* Center the content */
    box-sizing: border-box;
  }

  .contact-form {
    padding: 1.5rem;
    min-height: 65vh; /* Increased form height */
    flex: 1; /* Take remaining space */
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }

  .contact-item {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }

  .contact-item i {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }

  .contact-item h4 {
    font-size: 1rem;
  }

  .contact-item p {
    font-size: 0.9rem;
  }

  /* Form Small Mobile */
  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Footer Small Mobile */
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo-section {
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 16px;
    display: block;
  }

  .footer-social {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .footer-bottom {
    padding: 20px 0;
    font-size: 0.85rem;
  }

  .footer-download-buttons {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  /* Button Adjustments */
  .btn-small {
    padding: 6px 16px;
    font-size: 14px;
    min-width: 80px;
  }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Legal Pages Styling */
.legal-page {
  padding: 120px 0 80px;
  background: var(--background-primary);
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.last-updated {
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.legal-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 25px 0 15px;
}

.legal-section h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.legal-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-section li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.legal-section li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 60px;
  }

  .legal-header h1 {
    font-size: 2.2rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-content {
    padding: 0 20px;
  }
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Coming Soon Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--background-primary);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--background-secondary);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: bounce 2s infinite;
}

.modal-icon i {
  font-size: 35px;
  color: white;
}

.modal-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.modal-graphic {
  display: flex;
  justify-content: center;
}

.phone-preview {
  position: relative;
}

.phone-frame {
  width: 120px;
  height: 240px;
  background: linear-gradient(145deg, #333, #555);
  border-radius: 25px;
  padding: 15px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #888;
  border-radius: 2px;
}

.phone-screen-preview {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.app-logo-preview {
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.app-logo-preview i {
  font-size: 24px;
  color: white;
}

.loading-dots {
  display: flex;
  gap: 5px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: loading 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.modal-text {
  text-align: center;
  flex: 1;
}

.modal-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
}

.modal-text p {
  font-size: 1.1rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 25px;
}

.coming-soon-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: var(--background-secondary);
  border-radius: 12px;
  min-width: 100px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-item i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-item span {
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
  text-align: center;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -7px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes loading {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .modal-header h2 {
    font-size: 2rem;
  }

  .modal-body {
    gap: 20px;
  }

  .coming-soon-features {
    gap: 15px;
  }

  .feature-item {
    min-width: 80px;
    padding: 12px;
  }
}
