:root {
  --primary-teal: #0d9488;
  --primary-teal-hover: #0f766e;
  --primary-teal-light: #ccfbf1;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --container-width: 1200px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 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 cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scaffolding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-light {
  background-color: var(--bg-light);
  padding: 6rem 0;
}

.section-white {
  background-color: var(--bg-white);
  padding: 6rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: white;
  border: 2px solid var(--primary-teal);
}

.btn-primary:hover {
  background-color: var(--primary-teal-hover);
  border-color: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal-light);
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary-teal);
}

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

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-visual {
  flex: 1.2;
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

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

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 10s ease;
}

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

.overlay-indicator {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: none;
}

.icon-360 {
  font-size: 1.2rem;
}

.waypoint {
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border: 4px solid var(--primary-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
  animation: pulse 2s infinite;
  cursor: pointer;
}

.wp-1 { top: 60%; left: 30%; }
.wp-2 { top: 50%; left: 70%; }
.wp-3 { top: 80%; left: 50%; }

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(13, 148, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--bg-gray);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.bg-teal-light {
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--bg-white);
  border: 1px solid var(--bg-gray);
  cursor: pointer;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay svg {
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover .play-overlay svg {
  transform: scale(1);
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Footer Section */
.footer {
  background-color: var(--bg-light);
  padding: 5rem 0;
  border-top: 1px solid var(--bg-gray);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.company-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.footer-legal h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-legal ul {
  list-style: none;
}

.footer-legal ul li {
  margin-bottom: 0.75rem;
}

.footer-legal ul li a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-legal ul li a:hover {
  color: var(--primary-teal);
}

.footer-info p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 400px;
}

.footer-info .copyright {
  margin-top: 3rem;
  font-size: 0.875rem;
}

.footer-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-white);
  box-sizing: border-box;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px var(--primary-teal-light);
}

/* Base Animations & Utilities */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 3rem; }
  .feature-grid, .portfolio-grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 2.5rem;
  }
  
  .feature-grid, .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  .image-wrapper { transform: none; }
  .image-wrapper:hover { transform: none; }
}

/* --- NEW SECTIONS --- */

/* Comparison Section */
.comparison-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  border: 1px solid var(--bg-gray);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

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

.comparison-table th {
  font-size: 1.125rem;
  font-weight: 600;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

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

.comparison-table .highlight-col {
  background-color: var(--primary-teal-light);
}

.comparison-table th.highlight-col {
  color: var(--primary-teal);
  background-color: var(--primary-teal-light);
  border-top: 3px solid var(--primary-teal);
}

.icon-check {
  color: var(--primary-teal);
  font-weight: bold;
  font-size: 1.25rem;
}

.icon-x {
  color: #ef4444;
  font-weight: bold;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* How it Works / Process */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  gap: 1rem;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-connector {
  flex: 0.5;
  height: 3px;
  background-color: var(--primary-teal-light);
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.pricing-card.premium {
  border: 2px solid var(--primary-teal);
  box-shadow: var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-teal);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.price span {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pricing-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  height: 48px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-gray);
  color: var(--text-muted);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bg-gray);
}

.stars {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--primary-teal);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-white);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 20px);
  background-color: var(--bg-white);
  border: 1px solid var(--bg-gray);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-width: 800px;
  width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-banner.show-banner {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

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

.cookie-buttons .btn {
  padding: 0.6rem 1.5rem;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .step-connector {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

.hotspot-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--text-dark);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}
.hotspot-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: var(--text-dark) transparent transparent transparent;
}
.waypoint:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Footer layout */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
