/* Kattch shared design system — CSS common to multiple pages, extracted
   so the browser can cache it once instead of re-downloading it on every
   page load. Page-specific rules remain inline in each page's own <style>
   block; this file only holds rules that were verified byte-identical
   across the pages that link it. */

:root {
      /* Palette matched precisely to the Kattch brand logo */
      --primary: #10B981;       /* Brand bright green */
      --primary-dark: #059669;  /* Darker green hover state */
      --navy: #0B1120;          /* Deep navy base background */
      --navy-light: #1E293B;    /* Lighter navy card background */
      --bg-light: #F8FAFC;      /* Clean neutral white/light background */
      --text-main: #0B1120;     /* Deep navy for main body readability */
      --text-muted: #64748B;    /* Subtle slate grey supporting text */
      --border: #E2E8F0;        /* Subtle divider line border */
    }

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Inter, Arial, sans-serif;
    }

body {
      background: var(--bg-light);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

.container {
      width: 90%;
      max-width: 1180px;
      margin: auto;
    }

header {
      background: var(--navy);
      color: white;
      padding: 24px 0 90px;
      position: relative;
      overflow: hidden;
    }

header::before {
      content: '';
      position: absolute;
      top: -50%; left: 50%;
      width: 1000px; height: 1000px;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(11, 17, 32, 0) 70%);
      transform: translateX(-50%);
      pointer-events: none;
    }

nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 60px;
      position: relative;
      z-index: 10;
    }

.nav-actions {
      display: flex;
      align-items: center;
      gap: 28px;
    }

.nav-link {
      color: #E2E8F0;
      font-weight: 600;
      text-decoration: none;
    }

.nav-link:hover {
      color: var(--primary);
    }

/* Premium Logo Integration */
    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

.logo:hover {
      opacity: 0.9;
    }

.kattch-svg {
      height: 48px;
      width: auto;
      display: block;
    }

.footer-logo .kattch-svg {
      height: 42px;
    }

@media (max-width: 768px) {
      .kattch-svg {
        height: 36px;
      }
    }

.nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: white;
      padding: 6px 0;
      text-decoration: none;
      font-weight: 700;
      transition: opacity 0.2s ease;
    }

.nav-btn:hover {
      opacity: 0.8;
    }

.nav-btn .nav-arrow {
      color: var(--primary);
      font-weight: 800;
    }

.hero {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 10;
    }

/* Elegant Hero Branding Sub-Badge */
    .hero-intro {
      display: flex;
      justify-content: flex-start;
      margin-bottom: 24px;
    }

.hero-intro img {
      height: 48px;
      width: auto;
      display: block;
    }

@media (max-width: 850px) {
      .hero-intro {
        justify-content: center;
        margin-bottom: 20px;
      }
      .hero-intro img {
        height: 40px;
      }
    }

.hero h1 {
      font-size: clamp(38px, 5.5vw, 64px);
      line-height: 1.1;
      letter-spacing: -2px;
      margin-bottom: 24px;
      color: white;
    }

.hero h1 span {
      color: var(--primary);
    }

.hero p {
      font-size: 20px;
      color: #94A3B8;
      margin-bottom: 34px;
      max-width: 620px;
    }

.cta-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

.primary-btn, .secondary-btn {
      padding: 16px 28px;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 700;
      display: inline-block;
      transition: all 0.3s ease;
    }

.primary-btn:hover, .secondary-btn:hover {
      transform: translateY(-2px);
    }

.primary-btn {
      background: var(--primary);
      color: #022C22;
      box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
      border: 1px solid rgba(255,255,255,0.1);
    }

.primary-btn:hover {
      background: var(--primary-dark);
      color: white;
      box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
    }

.secondary-btn {
      background: rgba(255,255,255,0.05);
      color: white;
      border: 1px solid rgba(255,255,255,0.15);
      backdrop-filter: blur(10px);
    }

.secondary-btn:hover {
      background: rgba(255,255,255,0.1);
    }

.outcome-num {
      color: var(--primary);
      font-weight: 800;
      font-size: 15px;
      letter-spacing: 0.3px;
    }

.phone-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

.phone-mockup {
      background: var(--navy);
      border-radius: 28px;
      overflow: hidden;
      border: 6px solid var(--navy-light);
      box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

.phone-header {
      background: rgba(30, 41, 59, 0.9);
      padding: 14px 16px;
      font-size: 13px;
      font-weight: 700;
      color: #94A3B8;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      display: flex;
      align-items: center;
      gap: 8px;
    }

.phone-body {
      padding: 18px;
      font-size: 14px;
      color: var(--bg-light);
    }

.msg-bubble {
      padding: 12px 16px;
      margin-bottom: 12px;
      line-height: 1.4;
    }

.msg-received {
      background: var(--navy-light);
      color: var(--bg-light);
      border-radius: 16px 16px 16px 4px;
      border: 1px solid rgba(255,255,255,0.05);
      width: 92%;
    }

.msg-sent {
      background: var(--primary);
      color: #022C22;
      border-radius: 16px 16px 4px 16px;
      width: 92%;
      margin-left: auto;
      font-weight: 500;
    }

.notification-card {
      background: var(--navy-light);
      border-left: 4px solid var(--primary);
      padding: 16px;
      border-radius: 8px 16px 16px 8px;
      color: var(--bg-light);
      border-top: 1px solid rgba(255,255,255,0.05);
      border-right: 1px solid rgba(255,255,255,0.05);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

.notification-card strong {
      display: block;
      margin-bottom: 6px;
      color: var(--primary);
      font-size: 15px;
    }

section {
      padding: 80px 0;
    }

.section-title {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 54px;
    }

.section-title h2 {
      font-size: clamp(34px, 4vw, 50px);
      letter-spacing: -1.5px;
      margin-bottom: 16px;
      color: var(--text-main);
    }

.section-title p {
      font-size: 18px;
      color: var(--text-muted);
    }

.grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

/* Premium Feature Cards */
    .feature-card {
      background: #FFFFFF;
      padding: 40px 32px;
      border-radius: 24px;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
      border: 1px solid var(--border);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

/* Soft dynamic glow inside the card */
    .feature-card::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -50px;
      width: 150px;
      height: 150px;
      background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(255,255,255,0) 70%);
      border-radius: 50%;
      z-index: -1;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.feature-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--primary), #3B82F6);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

.feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
      border-color: rgba(16,185,129,0.3);
    }

.feature-card:hover::before {
      transform: scale(1.5);
    }

.feature-card:hover::after {
      opacity: 1;
    }

.feature-icon {
      width: 64px;
      height: 64px;
      background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
      color: var(--primary-dark);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      margin-bottom: 24px;
      border: 1px solid rgba(16, 185, 129, 0.2);
      box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.15);
      position: relative;
    }

/* Subtle blurred backdrop for the icon */
    .feature-icon::after {
      content: '';
      position: absolute;
      inset: -10px;
      background: var(--primary);
      filter: blur(20px);
      opacity: 0.15;
      z-index: -1;
      border-radius: 50%;
    }

.feature-card h3 {
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 12px;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

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

.steps {
      background: var(--navy);
      color: white;
    }

.steps .section-title h2 { color: white; }

.steps .section-title p { color: #94A3B8; }

.flip-card {
      background-color: transparent;
      perspective: 1000px;
      height: 260px;
      cursor: pointer;
    }

.flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      transform-style: preserve-3d;
    }

/* Enable hover as well as custom touch tap toggles */
    .flip-card:hover .flip-card-inner,
    .flip-card.active .flip-card-inner {
      transform: rotateY(180deg);
    }

.flip-card-front, .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 16px;
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }

.flip-card-front {
      background: var(--navy-light);
      color: white;
    }

.flip-card-back {
      background: var(--primary);
      color: #022C22;
      transform: rotateY(180deg);
    }

.flip-card-back p { color: #022C22; }

.step-number {
      width: 48px;
      height: 48px;
      background: rgba(255,255,255,0.05);
      display: grid;
      place-items: center;
      border-radius: 50%;
      font-weight: 800;
      font-size: 18px;
      margin-bottom: 16px;
      border: 1px solid rgba(255,255,255,0.1);
    }

.calculator {
      background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
    }

.calc-box {
      background: white;
      max-width: 760px;
      margin: auto;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
      border: 1px solid var(--border);
    }

label {
      display: block;
      font-weight: 700;
      margin: 24px 0 10px;
      color: var(--text-main);
    }

.result {
      margin-top: 32px;
      padding: 24px;
      background: #F0FDF4;
      border: 1px solid #BBF7D0;
      border-radius: 14px;
      color: #14532D;
      font-size: 20px;
      font-weight: 800;
      text-align: center;
    }

.pricing {
      background: white;
    }

.pricing-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      max-width: 960px;
      margin: auto;
    }

.price-card {
      background: var(--bg-light);
      padding: 40px;
      border-radius: 20px;
      border: 1px solid var(--border);
      position: relative;
    }

.price-card.featured {
      background: var(--navy);
      color: white;
      border-color: var(--navy);
      transform: scale(1.03);
      box-shadow: 0 25px 60px rgba(11, 17, 32, 0.2);
    }

.badge {
      position: absolute;
      top: -16px;
      right: 32px;
      background: var(--primary);
      color: #022C22;
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

.price {
      font-size: 52px;
      font-weight: 900;
      margin: 18px 0 8px;
      letter-spacing: -2px;
    }

.price small {
      font-size: 18px;
      font-weight: 600;
      color: inherit;
      opacity: 0.7;
      letter-spacing: 0;
    }

.save {
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 24px;
      background: rgba(16, 185, 129, 0.1);
      display: inline-block;
      padding: 4px 12px;
      border-radius: 6px;
    }

.annual-price-summary {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 10px;
      margin: 18px 0 24px;
    }

.annual-price-summary .price,
    .annual-price-summary .save {
      margin: 0;
    }

.about-kattch {
      background: white;
    }

.about-card p {
      color: var(--text-muted);
      font-size: 18px;
      margin-top: 16px;
    }

.footer-contact,
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 22px;
    }

.footer-contact a,
    .footer-links a {
      color: #CBD5E1;
      font-weight: 600;
      text-decoration: none;
    }

.footer-contact a:hover,
    .footer-links a:hover {
      color: var(--primary);
    }

ul {
      list-style: none;
      margin: 24px 0 32px;
    }

ul li {
      margin-bottom: 14px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      color: inherit;
      opacity: 0.9;
    }

ul li::before {
      content: "✓";
      color: var(--primary);
      font-weight: 900;
    }

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

.faq-item {
      background: white;
      padding: 28px;
      border-radius: 16px;
      margin-bottom: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
    }

.faq-item h3 {
      margin-bottom: 10px;
      color: var(--text-main);
    }

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

.contact-form-wrapper {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

.contact-form-wrapper.open {
      grid-template-rows: 1fr;
      opacity: 1;
      margin-top: 16px;
    }

.contact-form-inner {
      overflow: hidden;
    }

.form-group {
      margin-bottom: 20px;
      text-align: left;
    }

.form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-main);
    }

.form-control:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    }

textarea.form-control {
      resize: vertical;
      min-height: 120px;
    }

.submit-btn {
      width: 100%;
      border: none;
      cursor: pointer;
      font-size: 16px;
      text-align: center;
      margin-top: 10px;
    }

.slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 18px 0 8px;
    }

.slider-header label { margin: 0; }

.slider-value {
      background: var(--navy-light);
      color: white;
      padding: 4px 12px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 14px;
    }

/* Custom Range Slider Styling (Aligned to Brand Colors) */
    input[type=range] {
      -webkit-appearance: none;
      width: 100%;
      background: transparent;
      padding: 10px 0;
      border: none;
    }

input[type=range]:focus { outline: none; }

input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 24px;
      width: 24px;
      border-radius: 50%;
      background: var(--primary);
      cursor: pointer;
      margin-top: -8px;
      box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
      border: 2px solid white;
    }

input[type=range]::-webkit-slider-runnable-track {
      width: 100%;
      height: 8px;
      cursor: pointer;
      background: var(--border);
      border-radius: 4px;
    }

.anim-msg {
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

.typing-indicator {
      display: inline-flex;
      gap: 4px;
      padding: 12px 16px;
      background: var(--navy-light);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 16px 16px 16px 4px;
      width: fit-content;
      margin-bottom: 12px;
    }

.typing-dot {
      width: 6px;
      height: 6px;
      background: #94A3B8;
      border-radius: 50%;
      animation: typing 1.4s infinite ease-in-out both;
    }

.typing-dot:nth-child(1) { animation-delay: -0.32s; }

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

@keyframes typing {
      0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
      40% { transform: scale(1); opacity: 1; }
    }

#notif-card {
      opacity: 0;
      transform: translateY(10px) scale(0.95);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

/* Sticky Mobile CTA */
    .mobile-sticky-cta {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      padding: 16px;
      border-top: 1px solid var(--border);
      box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
      z-index: 100;
    }

.mobile-sticky-cta .primary-btn {
      width: 100%;
      text-align: center;
      padding: 14px;
    }

/* Final CTA Section */
    .final-cta {
      background: var(--navy);
      color: white;
      padding: 100px 0;
      text-align: center;
    }

.final-cta h2 {
      font-size: clamp(34px, 4vw, 52px);
      letter-spacing: -1.5px;
      margin-bottom: 16px;
    }

.final-cta p {
      font-size: 18px;
      color: #94A3B8;
      max-width: 600px;
      margin: 0 auto 36px;
    }

/* Modern Footer */
    footer {
      background: #060A13;
      color: #64748B;
      padding: 60px 0;
      text-align: center;
      font-size: 14px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

/* Narrow nav CTA: shorten the button label only, on the header nav only.
       Both phrasings exist in the markup for accessibility; CSS just picks
       which is visible. Hero/final CTAs keep the full phrase — they stack
       full-width at 850px already and have room for it. */
    .cta-short { display: none; }

@media (max-width: 480px) {
      .nav-btn .cta-full,
      #contactToggleBtn .cta-full { display: none; }
      .nav-btn .cta-short,
      #contactToggleBtn .cta-short { display: inline; }
    }

/* Timeline Section Styles */
    .timeline-section {
      background: var(--bg-light);
      padding: 96px 0;
      border-top: 1px solid var(--border);
    }

.timeline-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      margin-top: 60px;
    }

.timeline-steps {
      position: relative;
    }

.timeline-steps::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0; left: 19px;
      width: 2px;
      background: var(--border);
    }

.timeline-step {
      position: relative;
      margin-bottom: 24px;
      cursor: pointer;
      padding: 24px 24px 24px 64px;
      border-radius: 20px;
      transition: all 0.3s ease;
      border: 1px solid transparent;
      background: transparent;
    }

.timeline-step:last-child {
      margin-bottom: 0;
    }

.timeline-step:hover {
      background: rgba(255,255,255,0.5);
    }

.timeline-step.active {
      background: white;
      border-color: var(--border);
      box-shadow: 0 10px 40px rgba(15,23,42,0.06);
      transform: translateX(10px);
    }

.step-dot {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--bg-light);
      border: 2px solid var(--border);
      display: grid;
      place-items: center;
      font-weight: 700;
      color: var(--text-muted);
      transition: all 0.4s ease;
      z-index: 2;
    }

.timeline-step.active .step-dot {
      background: var(--primary);
      border-color: var(--primary);
      color: #022C22;
      box-shadow: 0 0 0 6px rgba(16,185,129,0.15);
    }

.timeline-step h3 {
      font-size: 20px;
      color: var(--text-main);
      margin-bottom: 8px;
      transition: color 0.3s;
    }

.timeline-step.active h3 {
      color: var(--primary-dark);
    }

.timeline-step p {
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.6;
    }

.timeline-visuals {
      position: relative;
      background: var(--navy);
      border-radius: 32px;
      height: 480px;
      box-shadow: 0 25px 50px rgba(11, 17, 32, 0.3);
      overflow: hidden;
      border: 8px solid white;
    }

.visual-slide {
      position: absolute;
      inset: 0;
      padding: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
    }

.visual-slide.active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

.slide-phone-ui {
      width: 100%;
      max-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

.ui-notification {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 20px;
      color: white;
      display: flex;
      align-items: center;
      gap: 16px;
    }

.ui-icon-sent { 
      background: var(--primary); 
      width: 48px; 
      height: 48px; 
      border-radius: 50%; 
      display: grid; 
      place-items: center; 
      color: #022C22;
    }
