/* 
  ========================================
  UPTECHSWISS - Premium Stylesheet
  Focus: Performance, Mobile-First, Smooth UX
  ========================================
*/

/* --- CSS Variables --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8fa;
  --bg-dark: #0a0a0a;
  
  --text-primary: #0a0a0a;
  --text-muted: #555555;
  --text-inverse: #ffffff;
  --text-inverse-muted: #a0a0a0;
  
  --accent: #DA291C;
  --accent-hover: #b82318;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Resets & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Disable smooth scroll in CSS if using Lenis/GSAP for custom scroll */
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  line-height: 1.6;
}

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

/* --- Layout Components --- */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo,
.nav-logo picture {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  max-width: none;
  display: block;
}

@media (min-width: 768px) {
  .nav-logo img {
    height: 56px;
  }
}


.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Section: Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 40px;
  /* Hardware accelerated gradient background */
  background: radial-gradient(circle at top center, rgba(220,0,0,0.03) 0%, transparent 70%);
}

.hero h1 {
  font-size: clamp(40px, 10vw, 80px);
  margin-bottom: 16px;
  max-width: 900px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: clamp(16px, 4vw, 20px);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 32px;
}

/* --- Scroll Story Sections (GSAP) --- */

.story-container {
  position: relative;
  width: 100%;
  /* Height will be managed by ScrollTrigger pinning if needed, or set explicitly */
  background: var(--bg-secondary);
}

/* The element that gets pinned */
.story-pin-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media Layer: Canvas & Video Fallback */
.media-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Canvas Image Sequence */
.media-layer canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Overlays Layer */
.text-layer {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.story-text-block {
  position: absolute;
  bottom: 10%;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

.story-text-block h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.story-text-block p {
  font-size: 15px;
  color: var(--text-muted);
}

/* --- Section: Benefits --- */
.benefits-section {
  padding: 80px 20px;
  background: var(--bg-primary);
  text-align: center;
}

.benefits-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--bg-secondary);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: left;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* --- Section: How It Works --- */
.how-it-works {
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.steps-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.step-number {
  background: var(--accent);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 15px;
  color: var(--text-inverse-muted);
}

/* ==========================================
   FOOTER — premium SaaS layout
   ========================================== */
.footer {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 20px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 41, 28, 0.4) 50%, transparent);
  pointer-events: none;
}

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

/* Pre-footer CTA block */
.footer-cta {
  text-align: center;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta h2 {
  font-size: 32px;
  margin-bottom: 14px;
  color: #fff;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.6;
}

.footer-cta .btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 12px 32px rgba(218, 41, 28, 0.3);
}

/* Main footer grid */
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-logo-fallback {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 32px;
  font-family: var(--font-main);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Link columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* Thin bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

.footer-copy strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.footer-gdpr {
  color: rgba(255, 255, 255, 0.35);
}

/* Mobile: tighter padding, single-column footer-main, stacked bottom bar */
@media (max-width: 767px) {
  .footer {
    padding: 56px 20px 0;
  }
  .footer-cta h2 {
    font-size: 26px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* --- Desktop Enhancements (min-width: 768px) --- */
@media (min-width: 768px) {
  .navbar {
    padding: 20px 60px;
  }
  
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
  }

  .hero h1 {
    font-size: 80px;
  }

  .story-text-block {
    bottom: auto;
    top: 50%;
    left: 10%;
    right: auto;
    transform: translateY(-50%) translateY(30px); /* Base state for GSAP */
    width: 100%;
    max-width: 380px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .story-text-block h2 { font-size: 40px; }
  .story-text-block p { font-size: 16px; }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-section { padding: 120px 40px; }
  .how-it-works { padding: 120px 40px; }

  /* Premium footer scales up on desktop */
  .footer { padding: 100px 40px 0; }
  .footer-cta h2 { font-size: 44px; }
  .footer-cta p { font-size: 16px; }
  .footer-main {
    grid-template-columns: 1.3fr 2fr;
    gap: 80px;
    padding: 80px 0 56px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pro-phone, .float-card, .pro-bg-orb, .typing-dot { animation: none !important; }
}

/* --- Performance: defer rendering of off-screen sections --- */
.benefits-section,
.testimonials-section,
.about-section,
.how-it-works,
.pro-section,
.pricing-section,
.faq-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.pricing-section h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.pricing-sub {
  color: var(--text-muted);
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: left;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-badge-pro {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-freq {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.faq-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  font-size: 15px;
  color: var(--text-muted);
  padding-bottom: 20px;
  line-height: 1.7;
}

/* (legacy .footer-legal block removed — replaced by .footer-bottom) */

/* --- Desktop Pricing & FAQ --- */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-section { padding: 120px 40px; }
  .faq-section { padding: 120px 40px; }
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Toggle pill — only used on mobile */
.lang-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-toggle-icon {
  font-size: 13px;
  line-height: 1;
}

.lang-toggle-caret {
  font-size: 9px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-toggle-caret {
  transform: rotate(180deg);
}

/* Mobile: hide the inline buttons, show the toggle, render the menu as a dropdown */
@media (max-width: 767px) {
  .lang-toggle {
    display: inline-flex;
  }

  .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 6px;
    min-width: 96px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 1001;
    /* Closed by default — animate in when .open is set */
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .lang-switcher.open .lang-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .lang-menu .lang-btn {
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .lang-menu .lang-btn:hover {
    background: rgba(218, 41, 28, 0.06);
    color: var(--accent);
  }

  .lang-menu .lang-btn.active {
    background: var(--accent);
    color: #fff;
  }
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.testimonials-section h2 {
  font-size: 32px;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-place {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================
   ABOUT US — Founder & Story
   ========================================== */
.about-section {
  padding: 80px 20px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}

/* Decorative ring element no longer needed — the red ring is now a thin box-shadow on the
   photo itself, which scales perfectly without needing a mask or animation. */
.about-photo-ring {
  display: none;
}

.about-photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 60%, var(--accent) 180%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -3px;
  overflow: hidden;
  /* Thin red ring + soft drop shadow (no white border to keep it minimal). */
  box-shadow:
    0 0 0 3px var(--accent),
    0 25px 50px rgba(0, 0, 0, 0.18);
  /* Photo sits at the bottom of the wrapper stack: */
  z-index: 1;
  /* Isolate so the inner <img> z-index doesn't leak out and cover the badge. */
  isolation: isolate;
}

.about-photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Frames Denner's face and the hand-on-chin pose; tweak this value to nudge crop. */
  object-position: 50% 22%;
  z-index: 1;
  /* Small zoom keeps the face away from the circular border on every screen size */
  transform: scale(1.05);
  transform-origin: 50% 30%;
}

/* Soft sheen overlay sits on top of the photo (subtle premium gloss). */
.about-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 55%);
  pointer-events: none;
  z-index: 2;
}

.about-badge-floating {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(218, 41, 28, 0.35);
  white-space: nowrap;
  /* Topmost layer in the wrapper stack so the photo never clips the badge. */
  z-index: 3;
}

.about-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-content > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.about-founder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.about-founder-name {
  font-weight: 700;
  font-size: 15px;
}

.about-founder-role {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-founder-flag {
  font-size: 24px;
  margin-left: auto;
}

.about-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-style: italic;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.about-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.about-stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.about-stat span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .about-section { padding: 120px 40px; }
  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 80px;
  }
  .about-photo-wrapper {
    width: 260px;
    height: 260px;
    margin: 0;
  }
  .about-content h2 { font-size: 44px; }
  .about-content > p { font-size: 18px; }
}

/* ==========================================
   WHATSAPP PRO — Premium Showcase
   ========================================== */
.pro-section {
  position: relative;
  padding: 100px 20px;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Animated background orbs */
.pro-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.pro-bg-orb-1 {
  top: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #25D366 0%, transparent 70%);
  animation: orb-float-1 14s ease-in-out infinite;
}

.pro-bg-orb-2 {
  bottom: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: orb-float-2 18s ease-in-out infinite;
  opacity: 0.25;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -60px) scale(1.15); }
}

.pro-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.pro-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.pro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pro-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px #25D366;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.pro-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

/* Showcase: Phone + Floating cards */
.pro-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.pro-phone-stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  perspective: 1200px;
}

.pro-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(180deg, #1c1c1e 0%, #0a0a0a 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #2a2a2c,
    0 30px 80px rgba(37, 211, 102, 0.15),
    0 50px 120px rgba(0, 0, 0, 0.5);
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(3deg); }
  50% { transform: translateY(-10px) rotateY(-8deg) rotateX(3deg); }
}

/* Mobile: drop the 3D tilt, keep the gentle bob */
@keyframes phone-float-flat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 767px) {
  .pro-phone {
    animation-name: phone-float-flat;
  }
}

.pro-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 100px;
  z-index: 3;
}

.pro-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #075E54;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23ffffff' opacity='0.04'><circle cx='10' cy='10' r='1.5'/><circle cx='40' cy='40' r='1.5'/><circle cx='70' cy='25' r='1.5'/></g></svg>"),
    linear-gradient(180deg, #0a0f0d 0%, #111b18 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 38px 14px 12px;
  background: #1f2c34;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.chat-info { flex: 1; min-width: 0; }

.chat-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  font-size: 10px;
  color: #25D366;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 6px #25D366;
}

.chat-messages {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

/* ==========================================
   CHAT CONVERSATION LOOP — pure CSS, 18s cycle
   Timeline (% of 18s):
     2%  msg-c1 in
    11%  typing-1 in
    18%  typing-1 out → msg-b1 in → badge ⚡ in
    28%  badge ⚡ out
    31%  msg-c2 in
    36%  typing-2 in
    43%  typing-2 out → msg-b2 in → badge 📅 in
    53%  badge 📅 out
    58%  msg-b3 (review) in → badge ⭐ in
    67%  badge ⭐ out
    70%  badge 📲 in
    81%  all msgs fade out
    83%  badge 📲 out
   ========================================== */

.msg {
  max-width: 78%;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
  word-wrap: break-word;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.msg-in {
  align-self: flex-start;
  background: #1f2c34;
  color: #e9edef;
  border-top-left-radius: 4px;
}

.msg-out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 4px;
}

.msg-out::after {
  content: '✓✓';
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  color: #53bdeb;
  vertical-align: bottom;
}

.typing-row {
  align-self: flex-start;
  background: #1f2c34;
  padding: 10px 14px;
  border-radius: 12px;
  border-top-left-radius: 4px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Wire each bubble to its slot in the loop */
.msg-c1 { animation-name: pro-msg-c1; }
.msg-b1 { animation-name: pro-msg-b1; }
.msg-c2 { animation-name: pro-msg-c2; }
.msg-b2 { animation-name: pro-msg-b2; }
.msg-b3 { animation-name: pro-msg-b3; }
.typing-row-1 { animation-name: pro-typing-1; }
.typing-row-2 { animation-name: pro-typing-2; }

@keyframes pro-msg-c1 {
  0%, 1%   { opacity: 0; transform: translateY(8px); }
  3%, 80%  { opacity: 1; transform: translateY(0); }
  82%, 100%{ opacity: 0; transform: translateY(-4px); }
}
@keyframes pro-typing-1 {
  0%, 9%   { opacity: 0; transform: translateY(6px); }
  11%, 17% { opacity: 1; transform: translateY(0); }
  19%, 100%{ opacity: 0; transform: translateY(-2px); }
}
@keyframes pro-msg-b1 {
  0%, 17%  { opacity: 0; transform: translateY(8px); }
  19%, 80% { opacity: 1; transform: translateY(0); }
  82%, 100%{ opacity: 0; transform: translateY(-4px); }
}
@keyframes pro-msg-c2 {
  0%, 30%  { opacity: 0; transform: translateY(8px); }
  32%, 80% { opacity: 1; transform: translateY(0); }
  82%, 100%{ opacity: 0; transform: translateY(-4px); }
}
@keyframes pro-typing-2 {
  0%, 35%  { opacity: 0; transform: translateY(6px); }
  37%, 42% { opacity: 1; transform: translateY(0); }
  44%, 100%{ opacity: 0; transform: translateY(-2px); }
}
@keyframes pro-msg-b2 {
  0%, 42%  { opacity: 0; transform: translateY(8px); }
  44%, 80% { opacity: 1; transform: translateY(0); }
  82%, 100%{ opacity: 0; transform: translateY(-4px); }
}
@keyframes pro-msg-b3 {
  0%, 57%  { opacity: 0; transform: translateY(8px); }
  59%, 80% { opacity: 1; transform: translateY(0); }
  82%, 100%{ opacity: 0; transform: translateY(-4px); }
}

/* Floating feature cards around phone */
.float-card {
  position: absolute;
  background: rgba(20, 20, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-fill-mode: both;
}

.float-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.float-card-icon.fc-green { background: rgba(37, 211, 102, 0.15); color: #25D366; }
.float-card-icon.fc-yellow { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.float-card-icon.fc-blue { background: rgba(83, 189, 235, 0.15); color: #53bdeb; }
.float-card-icon.fc-red { background: rgba(218, 41, 28, 0.15); color: #ff6b5e; }

.float-card-1 { top: 8%;    left:  -10px; animation-name: pro-badge-1; }
.float-card-2 { top: 30%;   right: -20px; animation-name: pro-badge-2; }
.float-card-3 { bottom: 30%; left: -20px; animation-name: pro-badge-3; }
.float-card-4 { bottom: 8%; right: -10px; animation-name: pro-badge-4; }

@keyframes pro-badge-1 { /* ⚡ Auto-reply: 19% → 28% */
  0%, 17%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  20%       { opacity: 1; transform: translateY(0) scale(1); }
  23%       { transform: translateY(-3px) scale(1); }
  26%       { opacity: 1; transform: translateY(0) scale(1); }
  29%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}
@keyframes pro-badge-2 { /* 📅 Booking: 44% → 53% */
  0%, 42%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  45%       { opacity: 1; transform: translateY(0) scale(1); }
  48%       { transform: translateY(-3px) scale(1); }
  51%       { opacity: 1; transform: translateY(0) scale(1); }
  54%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}
@keyframes pro-badge-3 { /* ⭐ Review: 59% → 67% */
  0%, 57%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  60%       { opacity: 1; transform: translateY(0) scale(1); }
  63%       { transform: translateY(-3px) scale(1); }
  66%       { opacity: 1; transform: translateY(0) scale(1); }
  69%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}
@keyframes pro-badge-4 { /* 📲 Lead captured: 70% → 82% */
  0%, 67%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  71%       { opacity: 1; transform: translateY(0) scale(1); }
  76%       { transform: translateY(-3px) scale(1); }
  79%       { opacity: 1; transform: translateY(0) scale(1); }
  83%, 100% { opacity: 0; transform: translateY(-6px) scale(0.95); }
}

/* Pause the chat loop & badges while the section is off-screen (perf) */
.pro-phone-stage:not(.in-view) .msg,
.pro-phone-stage:not(.in-view) .typing-row,
.pro-phone-stage:not(.in-view) .float-card,
.pro-phone-stage:not(.in-view) .typing-dot {
  animation-play-state: paused;
}

/* Pro features list */
.pro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pro-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.pro-feature:hover {
  background: rgba(37, 211, 102, 0.05);
  border-color: rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
}

.pro-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(18, 140, 126, 0.2));
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.pro-feature h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pro-feature p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Stats strip */
.pro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px 20px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}

.pro-stat {
  text-align: center;
}

.pro-stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #25D366, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.pro-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA */
.pro-cta-wrapper { text-align: center; }

.pro-price-tag {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.pro-price-tag b {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.pro-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(37, 211, 102, 0.45);
}

.pro-cta::after {
  content: '→';
  transition: transform 0.3s ease;
}

.pro-cta:hover::after { transform: translateX(4px); }

@media (min-width: 768px) {
  .pro-section { padding: 140px 40px; }
  .pro-header h2 { font-size: 56px; }
  .pro-header p { font-size: 18px; }

  .pro-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .pro-phone-stage {
    max-width: 360px;
  }

  .pro-features {
    gap: 18px;
  }

  .pro-feature h3 { font-size: 16px; }
  .pro-feature p { font-size: 14px; }

  .pro-stats {
    padding: 36px 40px;
  }

  .pro-stat b { font-size: 40px; }
}

/* Mobile-only: tighter badges, keep them mostly inside the stage */
@media (max-width: 480px) {
  .float-card {
    font-size: 10.5px;
    padding: 8px 11px;
    gap: 8px;
    border-radius: 12px;
  }
  .float-card-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .float-card-1 { left: -4px; }
  .float-card-2 { right: -4px; }
  .float-card-3 { left: -4px; }
  .float-card-4 { right: -4px; }
}
