@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

/* ------------------------------------
   Design Tokens
------------------------------------- */
:root {
  --rn-primary: #ff6b4a;
  --rn-primary-soft: #ffe0d7;
  --rn-primary-dark: #e35637;
  --rn-accent: #2563eb;
  --rn-bg-light: #ffffff;
  --rn-bg-soft: #f8f5ff;
  --rn-dark: #111827;
  --rn-muted: #6b7280;
  --rn-green: #0bae2e;

  --rn-radius-lg: 1.5rem;
  --rn-radius-md: 1rem;

  --rn-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --rn-shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ------------------------------------
   Base
------------------------------------- */
body {
  font-family: 'Rubik', sans-serif;
  background: linear-gradient(135deg, #fff8f5, #ffe9e3);
  color: #212529;
  min-height: 100vh;
}


/* Top-right cluster (phone + lang + app button) */
.position-absolute.top-0.end-0.p-3 {
  z-index: 1030;
}

/* ------------------------------------
   Logo above Hero
------------------------------------- */
.hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s;
}

.hero-logo:hover {
  transform: scale(1.03);
  opacity: 1;
}

/* ------------------------------------
   Generic Sections
------------------------------------- */
.hero,
.trust-channels,
.features,
.pain-points,
.who-for,
.switching,
.pricing,
.testimonials,
.what-you-can-do,
.faq,
.trust-security,
.contact,
.footer {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ------------------------------------
   Buttons
------------------------------------- */

.btn {
  border-radius: 999px;
}

/* ------------------------------------
   Cards (generic) + Hover
------------------------------------- */
.card {
  border-radius: var(--rn-radius-lg);
  border: none;
  box-shadow: var(--rn-shadow-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.card-body {
  min-height: 100%;
}

/* ------------------------------------
   Airbnb Style Hero
------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(248, 250, 252, 0.9), transparent 55%);
  opacity: 0.9;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--rn-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* Airbnb hero variant */
.airbnb-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #fff8f5, #ffe9e3);
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.airbnb-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Hero layout */
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  max-width: 520px;
  text-align: left;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #6b6b6b;
  margin-bottom: 10px !important;
}

/* Hero buttons */
.hero-buttons .btn {
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
}

.hero-main-btn {
  background-color: #ff6b4a;
  border-color: #ff6b4a;
  color: white;
  box-shadow: 0 10px 26px rgba(255, 107, 74, 0.35);
}

.hero-main-btn:hover {
  background-color: #e85635;
  border-color: #e85635;
}

.hero-secondary-btn {
  border-color: #2f2f2f;
  color: #2f2f2f;
  margin-left: 10px;
}

.hero-secondary-btn:hover {
  background-color: #2f2f2f;
  color: white;
}

/* Hero right image */
.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: transparent !important;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 1.5rem;
}

/* Remove extra margin under logos inside hero if any */
.hero .logo {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ------------------------------------
   Features (Airbnb style)
------------------------------------- */
.airbnb-features {
  background: linear-gradient(135deg, #fcedeb, #fff8f5);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.feature-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.feature-icon i {
  font-size: 22px;
}

/* Accent colors per feature */
.feature-icon.calendar { color: #f97316; background: #fff3e7; }
.feature-icon.booking  { color: #0ea5e9; background: #e0f7ff; }
.feature-icon.billing  { color: #22c55e; background: #e8fbef; }
.feature-icon.channel  { color: #6366f1; background: #e0e7ff; }
.feature-icon.rates    { color: #ec4899; background: #ffe4f1; }
.feature-icon.users    { color: #facc15; background: #fef9c3; }

.feature-title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}

.feature-desc {
  margin: 0;
  color: #6b7280;
  font-size: 0.93rem;
}

/* Small "soon" pill */
.feature-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4ff;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ------------------------------------
   Pain Points
------------------------------------- */
.pain-points {
  background: var(--rn-bg-light);
}
.pain-card {
  background: #fff;
  border-radius: 1rem;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
}

.pain-card i {
  font-size: 1.3rem;
}

.pain-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ------------------------------------
   Who is Roomnix for
------------------------------------- */
.who-for {
  background: linear-gradient(135deg, #fcedeb, #fff8f5);
}
.who-for-card {
  background: #fff;
  border-radius: 1rem;
  padding: 20px 10px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease;
}

.who-for-card:hover {
  transform: translateY(-4px);
}

.who-for-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.who-for-text {
  font-size: 0.9rem;
  margin: 0;
}

/* ------------------------------------
   Switching from another PMS
------------------------------------- */
.switching {
  background: var(--rn-bg-light);
}
.switch-card {
  background: #fff;
  border-radius: 1rem;
  padding: 20px 10px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease;
}

.switch-card:hover {
  transform: translateY(-4px);
}

.switch-card i {
  font-size: 1.5rem;
}

.switch-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ------------------------------------
   Pricing
------------------------------------- */
#pricing .card {
  border-radius: 1.7rem;
  position: relative;
  overflow: hidden;
}

#pricing .card-price {
  font-weight: 700;
  color: var(--rn-green);
}

#pricing .card-price .price {
  letter-spacing: -0.03em;
}

/* Pilot card border */
.pilot-card {
  border-top: 3px solid #f97316;
}



/* Balance feature list height */
.feature-list {
  min-height: 96px;
}

/* Billing toggle */
.btn-group[role="group"] .btn-outline-primary {
  border-radius: 999px !important;
  border-width: 1.5px;
  font-weight: 500;
  padding-inline: 1.5rem;
  color: var(--rn-muted);
  background-color: rgba(255, 255, 255, 0.8);
}

.btn-group[role="group"] .btn-outline-primary.billing-active {
  background-color: var(--rn-primary);
  color: #ffffff;
  border-color: var(--rn-primary);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.45);
}

/* Pricing Transparency Info */
.pricing-transparency {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-transparency .bi {
  font-size: 1rem;
  vertical-align: -2px;
}

.pricing-transparency div {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ------------------------------------
   Testimonials / Trusted By
------------------------------------- */
.testimonials {
  background: #ffffff;
}

.testimonial-card {
  text-align: left;
  padding: 22px 26px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-logo {
  width: 52px;
  height: 52px;
  max-width: 80px;
  border-radius: 16px;
  object-fit: contain;
  background: #f3f4f6;
  padding: 4px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Shared grayscale hover for logos */
.grayscale-hover {
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.grayscale-hover:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.testimonial-quote {
  color: #4b5563;
  font-size: 0.98rem;
}

.testimonial-meta {
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  margin-top: auto;
}

.testimonial-stars i {
  font-size: 0.9rem;
}

/* ------------------------------------
   What You Can Do
------------------------------------- */
.what-you-can-do {
  background: linear-gradient(135deg, #fcedeb, #fff8f5);
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}

.feature-card-alt {
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  background: white;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card-alt:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.feature-card-alt .feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card-alt.coming-soon {
  opacity: 0.85;
}

/* ------------------------------------
   FAQ / Accordion
------------------------------------- */
.faq {
  background: #f9fafb;
}

.faq-badge {
  background: #e0f2fe !important;
  color: #0369a1;
  font-size: 0.78rem;
}

.faq-item {
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border: none;
}

.accordion-button {
  background-color: #ffffff !important;
  color: #212529;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #eef2ff !important;
  color: #4f46e5;
  box-shadow: inset 0 -1px 0 #e5e7eb;
}

.accordion-item {
  background-color: transparent;
  border: none;
}

.accordion-body {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 0.75rem 0.75rem;
  color: var(--rn-muted);
  font-size: 0.95rem;
}

/* ------------------------------------
   Dropdown (Language)
------------------------------------- */
.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: none;
}

.dropdown-menu .dropdown-item {
  border-radius: 0.5rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #444 !important;
  color: #fff !important;
}

/* ------------------------------------
   Contact
------------------------------------- */
.contact {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.contact-badge {
  background: #dbeafe !important;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.contact-details p {
  margin-bottom: 6px;
}

.contact-link {
  color: var(--rn-accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* ------------------------------------
   Trust: Channel Logos
------------------------------------- */
.trust-channels {
  background: var(--rn-bg-light);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.trust-channels-text {
  letter-spacing: 0.08em;
}

.trust-channels-logos {
  justify-content: flex-start;
}

.channel-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.channel-logo-img {
  height: 22px;
  width: auto;
  filter: grayscale(0.1);
  opacity: 0.9;
}

.channel-logo-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
}

/* ------------------------------------
   Trust: Security / GDPR
------------------------------------- */
.trust-security {
  background: linear-gradient(135deg, #fcedeb, #fff8f5);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.trust-security-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  font-size: 1.3rem;
}

.trust-security-text {
  display: flex;
  flex-direction: column;
}

.trust-security-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-security-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ------------------------------------
   WhatsApp Floating Button
------------------------------------- */
.whatsapp-chat-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.whatsapp-chat-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  background-color: #1ebe5d;
  color: #fff;
}

.whatsapp-chat-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-chat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.whatsapp-chat-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-chat-subtitle {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* ------------------------------------
   Footer
------------------------------------- */
.footer {
  background: #111827;
  color: var(--rn-primary-soft);
  padding: 32px 0;
  font-size: 0.95rem;
}

.footer-nav a {
  color: var(--rn-primary-soft);
  text-decoration: none;
  margin: 0 8px;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer-nav a:hover {
  color: var(--rn-primary);
  text-decoration: underline;
}

.copy {
  color: #f4f3f3;
  font-size: 0.55rem;
}

/* ------------------------------------
   Misc / Typography tweaks
------------------------------------- */
.card-title {
  color: #c2410c;
}

.follow-us {
  text-align: center;
  margin-top: 12px;
}

.follow-us-text {
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.follow-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 6px;
  border-radius: 50%;
  background: #f3f4f6;
  font-size: 1.1rem;
  color: var(--rn-accent);
  transition: all 0.2s ease;
}

.follow-icons a:hover {
  transform: translateY(-2px);
  background: var(--rn-accent);
  color: white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ------------------------------------
   Responsive
------------------------------------- */

/* Large tablets / small laptops */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-flex {
    gap: 40px;
  }
}

/* Tablets & down */
@media (max-width: 991.98px) {
  /* Reduce vertical padding of all sections */
  .hero,
  .trust-channels,
  .features,
  .pain-points,
  .who-for,
  .switching,
  .pricing,
  .testimonials,
  .what-you-can-do,
  .faq,
  .trust-security,
  .contact,
  .footer {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Top-right cluster: stop overlapping hero on mobile */
  .position-absolute.top-0.end-0.p-3 {
    position: static !important;
    width: 100%;
    padding: 0.75rem 1rem !important;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.9)
    );
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  /* Stack hero content + image */
  .airbnb-hero .container,
  .hero-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    text-align: center;
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-buttons .btn {
    margin-bottom: 0;
  }

  .hero-secondary-btn {
    margin-left: 0;
  }

  .hero-image-wrapper {
    margin-top: 8px;
  }

  /* Channels strip */
  .trust-channels .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-channels-logos {
    justify-content: flex-start;
  }

  /* Pricing transparency text shouldn’t overflow */
  .pricing-transparency div {
    white-space: normal;
  }
}

/* Phones in portrait & small tablets */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo-container {
    margin-bottom: 1.25rem;
  }

  .hero-image-wrapper {
    margin-top: 16px;
  }

  .testimonial-card {
    padding: 18px 20px;
  }

  .what-you-can-do .feature-card-alt {
    text-align: left;
  }

  .trust-security .container,
  .trust-channels .container {
    align-items: flex-start;
  }

  .who-for-card {
    padding: 16px 8px;
  }
}

/* Very small phones */
@media (max-width: 575.98px) {
  .hero {
    padding-top: 24px;
  }

  .hero-logo {
    max-width: 140px;
  }

  /* Center channels logos */
  .trust-channels .container {
    align-items: center;
    text-align: center;
  }

  .trust-channels-logos {
    justify-content: center;
  }

  .pricing-transparency {
    padding-inline: 1rem;
  }

  /* Footer nav wraps nicely */
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .footer-nav a {
    margin: 0 4px;
    font-size: 0.8rem;
  }

  .copy {
    font-size: 0.7rem;
  }

  /* WhatsApp FAB: icon-only on tiny screens */
  .whatsapp-chat-button {
    padding: 10px 12px;
  }

  .whatsapp-chat-text {
    display: none;
  }
}
