/* Base styles */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #4f46e5;
  --accent-color: #8b5cf6;
  --light-color: #f9fafb;
  --dark-color: #1f2937;
  --grey-color: #9ca3af;
  --light-grey: #f3f4f6;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

/* Improved responsive base settings */
html {
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improved touch target sizes */
a, button, input, select, textarea {
  touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.nav-link:not(.btn-login)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:not(.btn-login):hover::after {
  width: 100%;
}

.btn-login {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

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

.btn-register {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active {
  color: var(--primary-dark);
}

.mobile-menu-toggle:hover {
  color: var(--primary-dark);
}

/* Header */
.header {
  background-image: url('https://images.unsplash.com/photo-1590402494610-2c378a9114c6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(79, 70, 229, 0.85) 100%);
  z-index: 1;
}

.header h1 {
  font-size: 3.5rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease;
}

.subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
  color: var(--primary-dark);
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.hero-note a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.hero-note a:hover {
  color: var(--primary-dark);
}

/* Application Note */
.application-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.application-note p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark-color);
}

.app-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.5rem;
}

.app-link i {
  margin-right: 0.5rem;
}

.app-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Registration Prompt */
.registration-prompt {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary-color);
}

.registration-prompt h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.registration-prompt p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.registration-prompt ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--dark-color);
}

.registration-prompt li {
  margin-bottom: 0.5rem;
}

.upload-section {
  margin-top: 1.5rem;
  text-align: center;
}

.upload-info {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  padding: 8rem 0 10rem;
  background-color: white;
  position: relative;
}

.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.shape-divider .shape-fill {
  fill: var(--light-grey);
}

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

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.8;
}

.btn-secondary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(37, 99, 235, 0.4);
}

.hero-image {
  position: relative;
}

.hero-img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.floating-icon {
  position: absolute;
  background-color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem;
  color: var(--primary-color);
  animation: float 3s infinite ease-in-out;
  z-index: 3;
}

.icon-1 {
  top: -20px;
  left: 30px;
  animation-delay: 0s;
}

.icon-2 {
  bottom: 30px;
  right: -20px;
  animation-delay: 0.5s;
}

.icon-3 {
  bottom: -15px;
  left: 40%;
  animation-delay: 1s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Features Section */
.features {
  background-color: var(--light-grey);
  padding: 8rem 0;
  position: relative;
}

.features-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: translateY(0);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-card p {
  color: #4b5563;
  font-size: 1.05rem;
}

/* Workflow Section */
.workflow {
  padding: 8rem 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.workflow-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 50%), 
                    radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.workflow-steps::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
  z-index: 1;
}

.step {
  flex: 1;
  min-width: 250px;
  padding: 0 1.5rem 2rem;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  box-shadow: 0 0 0 8px white, 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .step-number {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 0 8px white, 0 15px 25px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.step-content p {
  color: #4b5563;
}

.step-icon {
  margin-top: 1.5rem;
  font-size: 1.8rem;
  color: var(--accent-color);
  opacity: 0.8;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.step:hover .step-icon {
  transform: translateY(-7px);
  opacity: 1;
}

.workflow-note {
  background-color: var(--light-grey);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.workflow-note p {
  color: var(--dark-color);
}

.workflow-note strong {
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 8rem 0;
  color: white;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-title:after {
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  color: var(--dark-color);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text i {
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: -10px;
}

.testimonial-text p {
  position: relative;
  z-index: 2;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--primary-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: var(--dark-color);
}

.author-info p {
  color: var(--grey-color);
  font-size: 0.9rem;
}

/* Highlight feedback testimonial */
.testimonial-card.feedback {
  border-left: 4px solid #f59e0b;
  background-color: #fffbeb;
}

/* Make testimonial grid responsive for 5 cards */
@media (min-width: 992px) {
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background-color: var(--light-grey);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%), 
                    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  color: var(--dark-color);
}

.contact-item i {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.3rem;
  width: 30px;
  text-align: center;
}

.contact-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.35);
}

.submit-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Pricing Note */
.pricing-note-small {
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.75rem;
}

/* Promotional Styling */
.pricing-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(1);
  position: relative;
}

.promo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  width: 80%;
  max-width: 600px;
}

.promo-overlay h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.promo-price {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 1rem 0;
}

.promo-timer {
  color: #f0fdf4;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Promotion Banner */
.promo-banner {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  animation: float 3s ease-in-out infinite;
}

.promo-content {
  text-align: center;
  color: white;
}

.promo-label {
  background: #fbbf24;
  color: #000;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.promo-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.promo-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.promo-cta {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0% { transform: translateY(-20px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
  .promo-banner {
    margin: 1rem;
    transform: translateY(0);
  }
  
  .promo-content h2 {
    font-size: 1.5rem;
  }
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  min-width: 80px;
}

.countdown-item span:first-child {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.countdown-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.3rem;
}

@media (max-width: 576px) {
  .countdown-item {
    min-width: 60px;
    padding: 0.5rem 0.8rem;
  }
  
  .countdown-item span:first-child {
    font-size: 1.5rem;
  }
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--grey-color);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.95rem;
  color: var(--grey-color);
}

.copyright a {
  color: var(--grey-color);
}

.copyright a:hover {
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced responsive styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin-top: 2rem;
    order: -1;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  /* Make workflow steps responsive */
  .workflow-steps {
    flex-direction: column;
    gap: 3rem;
  }
  
  .workflow-steps::after {
    display: none;
  }
  
  .step {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .step-number {
    margin: 0 1.5rem 0 0;
  }

  .step-icon {
    margin-left: auto;
    margin-top: 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .header h1 {
    font-size: 2.8rem;
  }
  
  .hero-text h2 {
    font-size: 2.2rem;
  }

  /* Improved padding for tablets */
  section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  /* Mobile navigation */
  .mobile-menu-toggle {
    display: block;
  }

  .navbar .container {
    padding: 1rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    margin: 0.7rem 0;
    padding: 0.5rem;
  }

  /* Improved section sizing */
  section {
    padding: 4rem 0;
  }
  
  .logo {
    margin-bottom: 0;
  }
    
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  
  .header {
    padding: 4rem 0 3rem;
  }
  
  .header h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .workflow-note {
    padding: 1.5rem;
  }
  
  /* Hide floating elements that might cause mobile issues */
  .floating-icon {
    display: none;
  }
  
  .contact-form {
    padding: 1.5rem;
  }

  /* Improve form elements for touch */
  input, textarea, button {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.8rem;
  }

  button, .btn-secondary, .cta-button, .submit-btn {
    padding: 0.8rem 1.5rem;
  }

  /* Adjust footer for mobile */
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-img {
    transform: none; /* Remove perspective transform on mobile */
  }
}

@media (max-width: 576px) {
  /* Small phones */
  html {
    font-size: 14px;
  }

  .header h1 {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .hero-text h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  /* Enhance step display on very small screens */
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }

  .step-icon {
    margin: 1rem auto 0;
  }

  /* Testimonials on small screens */
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  /* Make copyright text smaller */
  .copyright {
    font-size: 0.8rem;
  }

  /* Adjust main call-to-action button */
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Fix Safari issues */
@supports (-webkit-touch-callout: none) {
  .header, .hero, .features, .workflow, .testimonials, .contact {
    background-attachment: scroll;
  }
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  display: none;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

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

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--primary-color);
  color: white;
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Legal Disclaimer Section */
/* Legal Notice Section - Professional Design */
.legal-notice {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0;
  margin-top: 4rem;
}

.legal-notice-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
}

.legal-notice-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #64748b, #475569);
  border-radius: 2px;
}

.legal-notice h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.legal-text {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-text p {
  margin-bottom: 1.2rem;
  text-align: left;
}

.legal-text p:last-child {
  margin-bottom: 0;
}

.legal-text strong {
  color: #334155;
  font-weight: 600;
}

/* Mobile responsiveness for legal notice */
@media (max-width: 768px) {
  .legal-notice {
    padding: 2rem 0;
    margin-top: 2rem;
  }
  
  .legal-notice-content {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
  }
  
  .legal-notice h3 {
    font-size: 1.25rem;
  }
  
  .legal-text {
    font-size: 0.9rem;
  }
}

/* Checkbox group styling for forms */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
  margin: 0;
  cursor: pointer;
}

.checkbox-group label .required-indicator {
  color: #dc2626;
  font-weight: 600;
}

.checkbox-group a {
  color: #2563eb;
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .checkbox-group {
    padding: 0.8rem;
    gap: 0.4rem;
  }
  
  .checkbox-group label {
    font-size: 0.9rem;
  }
}

/* Honeypot field - hidden from users */
.contact-field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
