@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

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

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
}

/* Intro Overlay */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-logo-container {
  width: 200px;
  height: 200px;
}

#intro-logo {
  width: 100%;
  height: 100%;
  color: #ffffff;
  filter: drop-shadow(0 0 30px rgba(0, 102, 204, 0.5));
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

#header-logo {
  width: 100%;
  height: 100%;
}

.header-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

/* Demo Panel */
.demo-panel {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateX(calc(100% - 56px)) translateY(-50%);
  z-index: 999;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.demo-panel.ready {
  opacity: 1;
}

.demo-panel.open {
  transform: translateX(0) translateY(-50%);
}

.demo-toggle {
  position: absolute;
  left: -44px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  background: #2f2f45;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-right: none;
  border-radius: 16px 0 0 16px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.demo-toggle:hover {
  background: #3f3f5a;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.demo-toggle-icon-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.demo-toggle-icon-arrow {
  font-size: 1.35rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.demo-toggle-icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.demo-panel.open .demo-toggle-icon,
.demo-panel.open .demo-toggle-icon-arrow {
  transform: rotate(0deg);
}

.demo-content {
  width: clamp(240px, 26vw, 320px);
  background: rgba(15, 15, 25, 0.92);
  backdrop-filter: blur(18px);
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 35px rgba(14, 14, 35, 0.55);
  transition: opacity 0.3s ease;
}

.demo-panel:not(.open) .demo-content {
  opacity: 0;
  pointer-events: none;
}

.demo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-align: center;
}

.demo-subtext {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(229, 229, 229, 0.75);
  margin-bottom: 1.5rem;
  text-align: center;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.demo-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}

.demo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.demo-whatsapp:hover { border-color: #25d366; }
.demo-messenger:hover { border-color: #0084ff; }
.demo-instagram:hover { border-color: #e4405f; }
.demo-voice:hover { border-color: #0066cc; }

/* Mobile Demo Panel */
@media (max-width: 768px) {
  .demo-panel {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 16px;
    transform: translate(-50%, calc(100% - 56px));
  }

  .demo-panel.open {
    transform: translate(-50%, 0);
  }

  .demo-toggle {
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    width: 64px;
    height: 48px;
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-bottom: none;
    background: #2f2f45;
    box-shadow: 0 -4px 12px rgba(16, 185, 129, 0.3);
  }

  .demo-panel:not(.open) .demo-toggle {
    transform: translate(-50%, -70%);
  }

  .demo-toggle:hover {
    background: #3f3f5a;
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 -6px 16px rgba(16, 185, 129, 0.4);
  }

  .demo-toggle-icon-arrow {
    transform: rotate(270deg);
  }

  .demo-panel.open .demo-toggle-icon-arrow {
    transform: rotate(90deg);
  }

  .demo-panel.open .demo-toggle-icon {
    transform: rotate(0deg);
  }

  .demo-content {
    width: min(92vw, 360px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(10, 10, 30, 0.55);
  }

  .demo-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .demo-button {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    text-align: center;
  }
}

/* Main Content */
#main {
  position: relative;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.section.section--visible {
  opacity: 1;
  transform: translateY(0);
}

.section-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* Hero Section */
.section-hero {
  padding-top: 10rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: #0066cc;
}

.hero-subhead {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.6;
  color: #a3a3a3;
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.hero-subhead-pricing {
  color: #ffffff;
  font-weight: 600;
}

.hero-subhead strong {
  color: #ffffff;
  font-weight: 700;
}

.hidden-mobile {
  display: inline;
}

@media (max-width: 640px) {
  .hidden-mobile {
    display: none;
  }
}

/* Cost Section */
.stat-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .stat-group {
    grid-template-columns: 1fr 1fr;
  }
}

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

.stat-number {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  color: #0066cc;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #d4d4d4;
  line-height: 1.4;
}

.section-text {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.7;
  color: #a3a3a3;
  margin-bottom: 1.5rem;
}

.section-text-emphasis {
  font-size: clamp(1.25rem, 3.5vw, 1.875rem);
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
  margin-top: 2rem;
}

/* Solution Section */
.section-headline {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 102, 204, 0.3);
  transform: translateY(-4px);
}

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

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #a3a3a3;
}

/* Demo Section */

/* Pricing Section */
.section-pricing .section-content {
  max-width: 1100px;
  text-align: left;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.15);
  border: 1px solid rgba(0, 102, 204, 0.4);
  color: #93c5fd;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-offer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-offer-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.strikethrough {
  text-decoration: line-through;
  color: #737373;
  margin-right: 0.75rem;
}

.offer-highlight {
  color: #10b981;
  font-weight: 700;
  font-size: 1.75rem;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 204, 0.45);
  box-shadow: 0 20px 45px rgba(15, 15, 15, 0.6);
}

.pricing-card-premium {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.92), rgba(16, 185, 129, 0.85));
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 25px 60px rgba(0, 102, 204, 0.45);
}

.pricing-flag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 10, 60, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
}

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

.pricing-price {
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-price span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-meta {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(229, 229, 229, 0.75);
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
}

.pricing-list li {
  font-size: 1rem;
  color: #d4d4d4;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.25rem;
  color: #0066cc;
}

.pricing-note {
  font-size: 0.95rem;
  color: rgba(229, 229, 229, 0.75);
}

.pricing-card-premium .pricing-meta,
.pricing-card-premium .pricing-note {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card-premium .pricing-list li::before {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-footnote {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: rgba(229, 229, 229, 0.7);
  max-width: 720px;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 2.25rem 1.75rem;
  }
}

/* Demo Section */
.demo-cta-large {
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(0, 102, 204, 0.05);
  border: 2px solid rgba(0, 102, 204, 0.2);
  border-radius: 20px;
}

.demo-cta-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}

.demo-buttons-large {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .demo-buttons-large {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-button-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.demo-button-large:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.demo-icon-large {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.social-proof {
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid #0066cc;
  border-radius: 12px;
}

.testimonial-text {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  line-height: 1.7;
  color: #e5e5e5;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 1rem;
  color: #a3a3a3;
  font-style: normal;
  font-weight: 600;
}

/* About Section */
.section-about {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(16, 185, 129, 0.05));
  border-top: 1px solid rgba(0, 102, 204, 0.2);
  border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.about-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 102, 204, 0.25);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 2rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(0, 102, 204, 0.4);
  aspect-ratio: 1;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d4d4d4;
  margin: 0;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-text-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #a3a3a3;
  font-size: 1rem;
}

.about-link {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-link:hover {
  color: #10b981;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }

  .about-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .about-card {
    padding: 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  .about-name {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-content {
    text-align: center;
  }
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  margin-top: 6rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #a3a3a3;
}

.footer-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #10b981;
  text-decoration: underline;
}

.footer-separator {
  margin: 0 0.75rem;
  color: #737373;
}

/* Privacy Policy Modal */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 2rem;
  overflow-y: auto;
}

.privacy-modal.open {
  display: flex;
}

.privacy-modal-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: #e5e5e5;
}

.privacy-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.privacy-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.privacy-modal-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 700;
}

.privacy-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #d4d4d4;
}

.privacy-body h3 {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-body h4 {
  font-size: 1.05rem;
  color: #e5e5e5;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-body p {
  margin-bottom: 1rem;
}

.privacy-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-body li {
  margin-bottom: 0.75rem;
}

.privacy-body a {
  color: #0066cc;
  text-decoration: none;
}

.privacy-body a:hover {
  text-decoration: underline;
  color: #10b981;
}

.privacy-body ul ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

/* Responsive Footer */
@media (max-width: 640px) {
  .footer {
    padding: 2rem 1rem;
    margin-top: 4rem;
  }

  .privacy-modal-content {
    padding: 2rem;
  }

  .privacy-modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .privacy-body h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
}
