/* Altar — Brand overrides */

:root {
  --altar-coral: #f0643b;
  --altar-coral-alt: #ee5a36;
  --altar-coral-deep: #f04d64;
  --altar-bg: #faf8f5;
  --altar-bg-alt: #f8f5f1;
  --altar-bg-secondary: #f1ece7;
  --altar-card: #ffe3da;
  --altar-text: #1f1f1f;
  --altar-text-secondary: #7a7a7a;
  --altar-gold: #c9a46a;
  --altar-gradient: linear-gradient(90deg, #f04d64, #f0643b);
  --altar-shadow: 0 12px 40px rgba(240, 100, 59, 0.18);
  --altar-radius: 24px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--altar-text);
  background-color: var(--altar-bg);
}

h1,
h2,
h3,
h4,
.header_title,
.section_title .title,
.download_title,
.subscribe_title,
.blog_title a,
.features_title,
.pricing_title,
.compatibility_title,
.step_title,
.testimonial_quote {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--altar-text);
}

p,
.navbar-nav a,
.main-btn,
input,
.subscribe_form button {
  font-family: var(--font-sans);
}

.section_title .title {
  font-size: 42px;
  line-height: 1.2;
}

.section_title p,
.features_content p,
.about_content p {
  color: var(--altar-text-secondary);
}

/* Preloader */
.preloader {
  background: var(--altar-bg);
}

.ytp-spinner-circle {
  border-color: var(--altar-coral) var(--altar-coral) var(--altar-bg-secondary) !important;
}

/* Navigation */
.header_navbar {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.header_navbar.sticky {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(31, 31, 31, 0.06);
}

.navbar-brand img {
  height: 44px;
  width: auto;
}

.navbar-nav .nav-item a {
  color: var(--altar-text);
  font-weight: 500;
  font-size: 15px;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item.active > a {
  color: var(--altar-coral);
}

.navbar-nav .nav-item a.main-btn-nav {
  margin-left: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--altar-gradient);
  color: #fff !important;
  box-shadow: var(--altar-shadow);
}

.header_navbar.sticky .navbar-nav .nav-item a.main-btn-nav {
  color: #fff !important;
}

.navbar-toggler .toggler-icon {
  background-color: var(--altar-text);
}

.lang-switcher select,
#lang-select {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid var(--altar-bg-secondary);
  border-radius: 999px;
  background-color: #fff;
  color: var(--altar-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237A7A7A' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.lang-switcher-item {
  margin-left: 8px;
}

@media (max-width: 991px) {
  .lang-switcher-item {
    margin: 12px 0 0;
    width: 100%;
  }

  .lang-switcher-item #lang-select {
    width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hero */
.header_area {
  background: var(--altar-bg);
}

.header_hero {
  height: auto;
  min-height: 85vh;
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--altar-bg);
}

.header_hero::before {
  display: none;
}

.header_hero .header_image {
  display: none !important;
}

.hero-logo {
  width: min(200px, 45vw);
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.header_hero_content {
  margin-left: auto;
  margin-right: auto;
}

.header_hero_content .header_title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--altar-text);
  letter-spacing: -0.02em;
}

.header_hero_content .header_tagline {
  display: block;
  margin-top: 0;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--altar-coral);
}

.header_hero_content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--altar-text-secondary);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.header_hero_content ul {
  padding-top: 28px;
}

/* Buttons */
.main-btn {
  background: var(--altar-gradient);
  border: none;
  border-radius: 999px;
  box-shadow: var(--altar-shadow);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.main-btn:hover {
  background: var(--altar-gradient);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(240, 100, 59, 0.28);
  color: #fff;
  opacity: 0.95;
}

.main-btn.main-btn-2 {
  background: transparent;
  border: 2px solid var(--altar-coral);
  box-shadow: none;
  color: var(--altar-coral);
}

.main-btn.main-btn-2:hover {
  background: var(--altar-card);
  border-color: var(--altar-coral);
  color: var(--altar-coral);
}

.main-btn--soon {
  cursor: default;
  opacity: 0.92;
  pointer-events: none;
}

.header_navbar.sticky + .header_hero .main-btn.main-btn-2,
.header_hero .main-btn.main-btn-outline-dark {
  border-color: var(--altar-coral);
  color: var(--altar-coral);
}

/* Features — Why Altar */
.features_area {
  background: var(--altar-bg);
  padding-top: 100px;
  padding-bottom: 100px;
}

.features_area .section_label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--altar-coral);
  margin-bottom: 12px;
}

.single_features {
  background: #fff;
  border-radius: var(--altar-radius);
  box-shadow: 0 8px 32px rgba(31, 31, 31, 0.04);
  border: 1px solid rgba(241, 236, 231, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.single_features:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(240, 100, 59, 0.1);
}

.single_features .features_icon i {
  background: var(--altar-gradient) !important;
  border-radius: 16px;
  width: 64px;
  height: 64px;
  line-height: 64px;
  font-size: 26px;
}

/* How it works */
.how_it_works_area {
  background: var(--altar-bg-secondary);
  padding: 100px 0;
}

.step_card {
  background: #fff;
  border-radius: var(--altar-radius);
  padding: 48px 32px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 32px rgba(31, 31, 31, 0.04);
  transition: transform 0.4s ease;
}

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

.step_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--altar-card);
  color: var(--altar-coral);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.step_title {
  font-size: 26px;
  margin-bottom: 12px;
}

.step_card p {
  color: var(--altar-text-secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* Compatibility */
.compatibility_area {
  padding: 100px 0;
  background: var(--altar-bg);
}

.compatibility_panel {
  background: var(--altar-card);
  border-radius: 28px;
  padding: 56px 48px;
}

.compatibility_item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.compatibility_item:last-child {
  margin-bottom: 0;
}

.compatibility_icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--altar-coral);
  font-size: 20px;
}

.compatibility_item h5 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.compatibility_item p {
  color: var(--altar-text-secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Testimonials */
.testimonials_area {
  background: var(--altar-bg-secondary);
  padding: 100px 0 120px;
}

.testimonial_card {
  background: #fff;
  border-radius: var(--altar-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 31, 31, 0.05);
  height: 100%;
  transition: transform 0.4s ease;
}

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

.testimonial_card .blog_image {
  display: none;
}

.testimonial_card .blog_content {
  padding: 36px 32px 40px;
}

.testimonial_quote {
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial_meta {
  font-size: 14px;
  color: var(--altar-text-secondary);
}

.testimonial_meta strong {
  color: var(--altar-text);
  font-weight: 600;
}

/* Final CTA */
.final_cta_area {
  padding: 100px 0;
  background: var(--altar-bg-secondary);
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.final_cta_content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final_cta_content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--altar-text);
  line-height: 1.15;
  margin-bottom: 32px;
}

/* Footer — remove template purple shape that overlaps CTA */
.footer_area::before,
.footer_area::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.footer_area {
  position: relative;
  z-index: 2;
  background: var(--altar-bg) !important;
  padding-top: 80px;
  margin-top: 0;
  isolation: isolate;
}

.footer_subscribe .subscribe_title {
  font-size: 32px;
  font-weight: 600;
  color: var(--altar-text) !important;
}

.footer_subscribe p {
  color: var(--altar-text-secondary) !important;
}

.footer_social ul li a {
  background: var(--altar-bg-secondary);
  color: var(--altar-text);
  transition: background 0.3s ease, color 0.3s ease;
}

.footer_social ul li a:hover {
  background: var(--altar-coral);
  color: #fff;
}

.subscribe_form input {
  border: none;
  border-bottom: 1px solid var(--altar-bg-secondary);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-sans);
}

.subscribe_form input:focus {
  border-bottom-color: var(--altar-coral);
  outline: none;
}

.footer_copyright p {
  color: var(--altar-text-secondary);
  font-size: 14px;
}

.footer_copyright a {
  color: var(--altar-coral);
}

.footer_legal a {
  font-size: 14px;
  font-weight: 500;
  color: var(--altar-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer_legal a:hover {
  color: var(--altar-coral);
}

.back-to-top {
  background: var(--altar-gradient);
  box-shadow: var(--altar-shadow);
}

/* About section hidden — repurposed */
.about_area,
#video,
#pricing,
#download.download_app_area,
#blog.blog_area:not(.testimonials_area) {
  display: none;
}

@media (max-width: 991px) {
  .header_hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .compatibility_panel {
    padding: 36px 28px;
  }
}
