/* Font: Open Sans — inherited from project style.css */

/* ═══════════════════════════════════════
   TallyPrime — Centered e-Invoicing Hero
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Yellowtail&display=swap');

.tp-hero {
  width: 100%;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0044a8;
  padding: 80px 24px;
}

/* Background glows and shapes */
.tp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.tp-hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Decorative white dots */
.tp-hero__dot {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.tp-hero__dot--1 {
  top: 30%;
  left: 33%;
  width: 8px;
  height: 8px;
}

.tp-hero__dot--2 {
  top: 42%;
  right: 33%;
  width: 7px;
  height: 7px;
}

.tp-hero__dot--3 {
  bottom: 25%;
  right: 25%;
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

/* Peppol globes */
.tp-hero__globe {
  position: absolute;
  opacity: 0.85;
  animation: gentleRotate 40s linear infinite;
}

.tp-hero__globe--left {
  top: 45%;
  left: 29%;
  transform: translateY(-50%);
}

.tp-hero__globe--right {
  top: 15%;
  right: 39%;
}

@keyframes gentleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Layout centering */
.tp-hero__inner--centered {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* TallyPrime logo styles */
.tp-hero__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  line-height: 1;
}

.tp-hero__logo-img {
  width: 95px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tp-hero__logo-img:hover {
  transform: translateY(-3px) scale(1.05);
  opacity: 1;
}

.tp-logo-tally {
  font-family: 'Yellowtail', cursive;
  font-size: 42px;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tp-logo-prime {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Headline */
.tp-hero__headline--centered {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.tp-hero__underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.tp-hero__underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q20,8 40,5 T80,5 T100,5 M3,7 Q30,9 60,6 T100,7" stroke="white" stroke-width="2.5" fill="none" stroke-linecap="round"/></svg>') no-repeat;
  background-size: 100% 100%;
}

/* Subheadings */
.tp-hero__subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: 0.1px;
}

.tp-hero__tagline--centered {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 36px;
  letter-spacing: 0.1px;
  font-style: normal;
}

/* CTAs centered */
.tp-hero__ctas--centered {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.24s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Gold Button */
.tp-btn--primary-gold {
  background: #f5a623;
  color: #0c4350;
  border-color: #f5a623;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.25);
}

.tp-btn--primary-gold:hover {
  background: #ffb433;
  border-color: #ffb433;
  color: #0c4350;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.38);
  transform: translateY(-1.5px);
  text-decoration: none;
}

/* White Button */
.tp-btn--secondary-white {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #ffffff;
  padding: 14px 32px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tp-btn--secondary-white:hover {
  background: #f0f4f8;
  border-color: #f0f4f8;
  color: #1a1a2e;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-1.5px);
  text-decoration: none;
}

.tp-btn svg {
  transition: transform 0.2s ease;
}

.tp-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tp-hero {
    padding: 64px 20px;
    min-height: 440px;
  }
  .tp-hero__globe--left {
    left: 10%;
    top: 55%;
  }
  .tp-hero__globe--right {
    right: 15%;
    top: 10%;
  }
}


/* ═══════════════════════════════════════
   Features Section
═══════════════════════════════════════ */

.tp-features {
  background: #ffffff;
  padding: 72px 24px 80px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.tp-features__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.tp-features__header {
  text-align: center;
  margin-bottom: 56px;
}

.tp-features__title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #0c1c2c;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.tp-features__title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 54px;
  height: 4px;
  background: #0eaecf;
  border-radius: 2px;
}

.tp-features__subtitle {
  display: inline-block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
  margin: 0;
  position: relative;
  padding-bottom: 8px;
}

.tp-features__subtitle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 54px;
  height: 4px;
  background: #0eaecf; /* Thick cyan/blue underline matching the image precisely */
  border-radius: 2px;
}

/* Rows */
.tp-features__row {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

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

.tp-features__row--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Card */
.tp-feat-card {
  background: #ffffff;
  border: 1px solid #e1e8f0; /* Subtle grey-blue border matching the image */
  border-radius: 20px; /* Highly rounded corners matching the card in the image */
  padding: 36px 28px;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.015);
}

.tp-feat-card:hover {
  box-shadow: 0 12px 36px rgba(14, 174, 207, 0.08); /* Sophisticated light teal-blue hover shadow */
  transform: translateY(-3px);
}

/* Icon wrapper */
.tp-feat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.28s ease;
}

.tp-feat-card:hover .tp-feat-card__icon {
  transform: scale(1.06);
}

/* Card title */
.tp-feat-card__title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #162432;
  margin: 0 0 14px;
  line-height: 1.35;
}

/* Card description */
.tp-feat-card__desc {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5a6a; /* Clean grey for a highly legible design */
  margin: 0;
}

.tp-feat-card__highlight {
  color: #0d9ab8;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 860px) {
  .tp-features__row--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .tp-features__row--2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 540px) {
  .tp-features__row--3,
  .tp-features__row--2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .tp-features {
    padding: 48px 16px 56px;
  }
}

/* ═══════════════════════════════════════
   CTA Section
═══════════════════════════════════════ */

.tp-cta {
  background: #ffffff;
  padding: 40px 24px 80px;
}

.tp-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tp-cta__card {
  position: relative;
  background: linear-gradient(100deg, #003695 0%, #0045be 100%); /* Premium Royal Blue Gradient precisely matching the theme image */
  border-radius: 20px; /* Large rounded corners matching the card in the image */
  padding: 40px 48px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 54, 149, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05); /* Modern soft outer glow */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tp-cta__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.tp-cta__title {
  color: #ffffff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.tp-cta__text {
  color: #bad3f8; /* Soft blue-gray text providing elegant visual contrast */
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.tp-cta__text strong {
  color: #ffffff;
  font-weight: 600;
}

.tp-cta__actions {
  flex-shrink: 0;
}

.tp-btn--cta {
  background: #ffbe21; /* Vivid golden yellow button matching the image precisely */
  color: #003695; /* Deep royal blue text for excellent accessibility and style */
  border: none;
  border-radius: 30px; /* Perfect pill-shaped button */
  padding: 13px 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(255, 190, 33, 0.25); /* Premium soft glow matching button color */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tp-btn--cta:hover {
  background: #ffc73b; /* Slightly brighter gold on hover */
  color: #003695;
  box-shadow: 0 12px 28px rgba(255, 190, 33, 0.45); /* Enhanced hover glow */
  transform: translateY(-2px) scale(1.02); /* Slight scale and elevation */
  text-decoration: none;
}

.tp-btn__arrow {
  transition: transform 0.22s ease;
}

.tp-btn--cta:hover .tp-btn__arrow {
  transform: translateX(3px);
}

/* CTA Responsive */
@media (max-width: 860px) {
  .tp-cta__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 36px 28px;
    gap: 28px;
    border-radius: 16px;
  }
  
  .tp-cta__content {
    align-items: center;
    text-align: center;
  }
  
  .tp-cta__title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .tp-cta__text {
    font-size: 13.5px;
  }
  
  .tp-btn--cta {
    width: auto;
  }
}

@media (max-width: 480px) {
  .tp-cta {
    padding: 24px 12px 48px;
  }
  
  .tp-cta__card {
    padding: 32px 20px;
    gap: 24px;
  }
  
  .tp-btn--cta {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════
   FAQ Section
═══════════════════════════════════════ */

.tp-faq {
  background: #fcfdfe; /* Subtle off-white to distinguish from CTA */
  padding: 80px 24px;
  border-top: 1px solid #f0f4f8;
}

.tp-faq__inner {
  max-width: 900px;
  margin: 0 auto;
}

.tp-faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.tp-faq__title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.tp-faq__divider {
  width: 48px;
  height: 3px;
  background: #0044a8; /* Brand blue highlight */
  margin: 0 auto;
  border-radius: 2px;
}

.tp-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tp-faq__item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tp-faq__item[open] {
  border-color: #0044a8;
  box-shadow: 0 4px 12px rgba(0, 68, 168, 0.06);
}

/* Chrome/Safari markers removal */
.tp-faq__item summary::-webkit-details-marker {
  display: none;
}

.tp-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none; /* Hide default list marker */
  user-select: none;
  transition: all 0.2s ease;
}

.tp-faq__question:focus {
  outline: none;
}

.tp-faq__question:hover {
  color: #0044a8;
  background: rgba(0, 68, 168, 0.01);
}

.tp-faq__chevron {
  color: #a0aec0;
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.tp-faq__question:hover .tp-faq__chevron {
  color: #0044a8;
}

.tp-faq__item[open] .tp-faq__chevron {
  transform: rotate(180deg);
  color: #0044a8;
}

.tp-faq__answer {
  border-top: 1px solid #f0f4f8;
  padding: 20px 24px 24px;
  background: #fafbfc;
}

.tp-faq__answer p {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a5568;
}

/* FAQ Responsive */
@media (max-width: 640px) {
  .tp-faq {
    padding: 56px 16px;
  }
  
  .tp-faq__header {
    margin-bottom: 32px;
  }
  
  .tp-faq__title {
    font-size: 26px;
  }
  
  .tp-faq__question {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .tp-faq__answer {
    padding: 16px 20px 20px;
  }
}

/* ═══════════════════════════════════════
   How It Works Flow Section
═══════════════════════════════════════ */

.tp-flow {
  background: #ffffff;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.tp-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d2dce6, transparent);
}

.tp-flow__inner {
  max-width: 820px;
  margin: 0 auto;
}

.tp-flow__header {
  text-align: center;
  margin-bottom: 60px;
}

.tp-flow__title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.tp-flow__subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #5a6a7e;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Timeline container */
.tp-flow__timeline {
  position: relative;
  padding-left: 60px;
}

/* Vertical connecting line */
.tp-flow__timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #0eaecf 0%, #3b82f6 25%, #10b981 50%, #f59e0b 75%, #0d9488 100%);
  border-radius: 2px;
}

/* Individual step */
.tp-flow__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}

.tp-flow__step:last-child {
  margin-bottom: 0;
}

/* Step number marker */
.tp-flow__step-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-flow__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #032461, #0a3d8f);
  color: #ffffff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(3, 36, 97, 0.3), 0 0 0 4px rgba(3, 36, 97, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tp-flow__step:hover .tp-flow__step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(3, 36, 97, 0.4), 0 0 0 6px rgba(3, 36, 97, 0.12);
}

/* Step card */
.tp-flow__step-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fafcff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.tp-flow__step-card::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -12px;
  width: 12px;
  height: 2px;
  background: #d2dce6;
}

.tp-flow__step:hover .tp-flow__step-card {
  background: #ffffff;
  border-color: #c5d9f0;
  box-shadow: 0 8px 32px rgba(3, 36, 97, 0.08), 0 2px 8px rgba(14, 174, 207, 0.06);
  transform: translateX(4px);
}

/* Step icon circle */
.tp-flow__step-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tp-flow__step:hover .tp-flow__step-icon {
  transform: scale(1.08);
}

.tp-flow__step-icon--blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #3b82f6;
}

.tp-flow__step-icon--green {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #10b981;
}

.tp-flow__step-icon--indigo {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  color: #6366f1;
}

.tp-flow__step-icon--amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #f59e0b;
}

.tp-flow__step-icon--teal {
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  color: #0d9488;
}

/* Step text */
.tp-flow__step-content {
  flex: 1;
  min-width: 0;
}

.tp-flow__step-title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 8px;
  line-height: 1.35;
}

.tp-flow__step-desc {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #5a6a7e;
  margin: 0;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 768px) {
  .tp-flow {
    padding: 60px 16px;
  }

  .tp-flow__title {
    font-size: 26px;
  }

  .tp-flow__header {
    margin-bottom: 40px;
  }

  .tp-flow__timeline {
    padding-left: 50px;
  }

  .tp-flow__timeline::before {
    left: 17px;
  }

  .tp-flow__step-marker {
    width: 36px;
    height: 36px;
  }

  .tp-flow__step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .tp-flow__step-card {
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }

  .tp-flow__step-card::before {
    left: -10px;
    width: 10px;
  }

  .tp-flow__step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .tp-flow__step-icon svg {
    width: 22px;
    height: 22px;
  }

  .tp-flow__step {
    gap: 16px;
    margin-bottom: 24px;
  }

  .tp-flow__step-title {
    font-size: 15px;
  }

  .tp-flow__step-desc {
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════
   Form Validation Premium Styling
═══════════════════════════════════════ */
.error-message {
  display: block;
  color: #e53e3e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  margin-left: 4px;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  animation: tpFadeInError 0.24s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tp-notify__input.is-invalid,
.tp-notify__select.is-invalid,
.form-control.is-invalid {
  border-color: #fc8181 !important;
  background-color: #fffafb !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15) !important;
}

@keyframes tpFadeInError {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════
   Notify Form Section (Ice Blue Theme)
═══════════════════════════════════════ */

.tp-notify {
  background: #eaf6fa; /* Soft Ice-blue background matching the image precisely */
  padding: 80px 24px;
}

.tp-notify__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.tp-notify__header {
  text-align: center;
  margin-bottom: 48px;
}

.tp-notify__title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #162432;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.tp-notify__subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #4a5a6a;
  margin: 0;
}

.tp-notify__highlight {
  position: relative;
  display: inline-block;
  color: #1a2a3e;
  font-weight: 600;
}

.tp-notify__highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #0eaecf;
  border-radius: 1px;
}

/* Grid Layout */
.tp-notify__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left Column: Card */
.tp-notify__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 24px;
  box-shadow: 0 15px 35px rgba(0, 68, 168, 0.04);
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.tp-notify__card-title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #162432;
  margin: 0 0 8px;
}

.tp-notify__card-subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 12px;
  color: #718096;
  margin: 0 0 10px;
}

/* Form Styling */
.tp-notify__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-notify__input-group {
  width: 100%;
}

.tp-notify__input,
.tp-notify__select {
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  color: #1a202c;
  background: #ffffff;
  border: 1px solid #d2dce6;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.tp-notify__input::placeholder {
  color: #a0aec0;
}

.tp-notify__input:focus,
.tp-notify__select:focus {
  border-color: #0eaecf;
  box-shadow: 0 0 0 3px rgba(14, 174, 207, 0.15);
}

/* Phone row split: 1/3 and 2/3 */
.tp-notify__row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.tp-notify__col--code {
  width: 32%;
  flex-shrink: 0;
}

.tp-notify__col--phone {
  flex-grow: 1;
}

/* Checkbox alignment */
.tp-notify__agreement {
  margin-top: 6px;
  margin-bottom: 10px;
}

.tp-notify__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.tp-notify__checkbox {
  display: none;
}

.tp-notify__checkbox-custom {
  width: 15px;
  height: 15px;
  border: 1.5px solid #cbd5e0;
  border-radius: 3px;
  background: #ffffff;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tp-notify__checkbox:checked + .tp-notify__checkbox-custom {
  background: #e53e3e; /* Red color matching the reference image tick box precisely */
  border-color: #e53e3e;
}

.tp-notify__checkbox:checked + .tp-notify__checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tp-notify__checkbox-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 12px;
  color: #4a5568;
}

.tp-notify__link {
  color: #2d3748;
  text-decoration: underline;
  font-weight: 500;
}

.tp-notify__link:hover {
  color: #e53e3e;
}

/* Submit Action Button centered */
.tp-notify__actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.tp-btn--notify {
  background: #f5a623; /* Classic gold button */
  color: #ffffff;
  border: 1px solid #f5a623;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.2);
}

.tp-btn--notify:hover {
  background: #ffb433;
  border-color: #ffb433;
  box-shadow: 0 6px 15px rgba(245, 166, 35, 0.35);
  transform: translateY(-1px);
}

/* Right Column: Information Box Card */
.tp-notify__box-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tp-notify__box {
  position: relative;
  background: #ffffff;
  border-top: 4px solid #0eaecf; /* Cyan brand accent line matching highlight */
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 15px 35px rgba(10, 30, 60, 0.04);
  border-left: 1px solid #eef4f7;
  border-right: 1px solid #eef4f7;
  border-bottom: 1px solid #eef4f7;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 380px;
  width: 100%;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.tp-notify__box:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(14, 174, 207, 0.08);
}

.tp-notify__box-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e6f7fa;
  color: #0eaecf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: gentleRumble 4s ease-in-out infinite;
}

@keyframes gentleRumble {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-8deg); }
  94% { transform: rotate(8deg); }
  96% { transform: rotate(-4deg); }
  98% { transform: rotate(4deg); }
}

.tp-notify__box-content {
  flex-grow: 1;
}

.tp-notify__box-title {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #162432;
  margin: 0 0 8px;
  line-height: 1.35;
}

.tp-notify__box-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5a6a;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 860px) {
  .tp-notify__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tp-notify__box-wrap {
    order: -1; /* Text card sits on top in tablet/mobile */
  }
}

@media (max-width: 480px) {
  .tp-notify {
    padding: 56px 16px;
  }
  
  .tp-notify__card {
    padding: 20px 20px;
  }
  
  .tp-notify__title {
    font-size: 24px;
  }
  
  .tp-notify__row {
    flex-direction: column;
    gap: 12px;
  }
  
  .tp-notify__col--code {
    width: 100%;
  }
  
  .tp-btn--notify {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════
   COMPREHENSIVE RESPONSIVE OVERHAUL
   Covers every section at all breakpoints
═══════════════════════════════════════ */

/* ── Tablet (max-width: 768px) ── */
@media (max-width: 768px) {

  /* Hero */
  .tp-hero__underline {
    white-space: normal;
  }

  .tp-hero__ctas--centered {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .tp-btn--primary-gold,
  .tp-btn--secondary-white {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 14px;
  }

  /* Features */
  .tp-features {
    padding: 56px 20px 64px;
  }

  .tp-features__header {
    margin-bottom: 40px;
  }

  .tp-feat-card {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .tp-feat-card__title {
    font-size: 16px;
  }

  .tp-feat-card__desc {
    font-size: 13px;
  }

  /* Flow */
  .tp-flow__subtitle {
    font-size: 14px;
  }

  /* Notify */
  .tp-notify__header {
    margin-bottom: 36px;
  }

  .tp-notify__title {
    font-size: 26px;
  }

  .tp-notify__subtitle {
    font-size: 14px;
  }

  /* CTA */
  .tp-cta__title {
    font-size: 22px;
  }

  .tp-cta__text {
    font-size: 13.5px;
  }

  /* FAQ */
  .tp-faq__title {
    font-size: 28px;
  }
}

/* ── Small Tablet / Large Phone (max-width: 640px) ── */
@media (max-width: 640px) {

  /* Hero */
  .tp-hero {
    padding: 48px 16px;
    min-height: 380px;
  }

  .tp-hero__logo {
    margin-bottom: 20px;
  }

  .tp-hero__logo-img {
    width: 80px;
  }

  .tp-logo-tally {
    font-size: 36px;
  }

  .tp-logo-prime {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .tp-hero__headline--centered {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 14px;
  }

  .tp-hero__subtitle {
    font-size: clamp(14px, 3vw, 17px);
  }

  .tp-hero__tagline--centered {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .tp-hero__globe {
    display: none;
  }

  /* Features */
  .tp-features__header {
    margin-bottom: 32px;
  }

  .tp-feat-card__icon svg {
    width: 40px;
    height: 40px;
  }

  /* Flow */
  .tp-flow {
    padding: 48px 14px;
  }

  .tp-flow__title {
    font-size: 22px;
  }

  .tp-flow__header {
    margin-bottom: 32px;
  }

  .tp-flow__timeline {
    padding-left: 44px;
  }

  .tp-flow__timeline::before {
    left: 14px;
  }

  .tp-flow__step-marker {
    width: 30px;
    height: 30px;
  }

  .tp-flow__step-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(3, 36, 97, 0.25), 0 0 0 3px rgba(3, 36, 97, 0.06);
  }

  .tp-flow__step {
    gap: 12px;
    margin-bottom: 20px;
  }

  .tp-flow__step-card {
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .tp-flow__step-card::before {
    left: -8px;
    width: 8px;
  }

  .tp-flow__step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .tp-flow__step-icon svg {
    width: 20px;
    height: 20px;
  }

  .tp-flow__step-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .tp-flow__step-desc {
    font-size: 12.5px;
    line-height: 1.55;
  }

  /* Notify */
  .tp-notify {
    padding: 48px 14px;
  }

  .tp-notify__card {
    max-width: 100%;
  }

  .tp-notify__box {
    max-width: 100%;
  }

  /* CTA */
  .tp-cta {
    padding: 24px 14px 48px;
  }

  .tp-cta__card {
    padding: 28px 20px;
    border-radius: 14px;
    gap: 20px;
  }

  .tp-cta__title {
    font-size: 20px;
  }

  .tp-cta__text {
    font-size: 13px;
  }

  .tp-btn--cta {
    font-size: 13.5px;
    padding: 12px 28px;
  }
}

/* ── Phone (max-width: 480px) ── */
@media (max-width: 480px) {

  /* Hero */
  .tp-hero {
    padding: 40px 14px;
    min-height: 340px;
  }

  .tp-hero__headline--centered {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.3;
  }

  .tp-hero__underline::after {
    height: 4px;
    bottom: -4px;
  }

  .tp-hero__ctas--centered {
    max-width: 100%;
  }

  /* Features */
  .tp-features {
    padding: 40px 14px 48px;
  }

  .tp-feat-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .tp-feat-card__icon {
    margin-bottom: 16px;
  }

  .tp-feat-card__title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .tp-feat-card__desc {
    font-size: 12.5px;
  }

  /* Flow */          
  .tp-flow {
    padding: 40px 12px;
  }

  .tp-flow__title {
    font-size: 20px;
  }

  .tp-flow__subtitle {
    font-size: 13px;
  }

  .tp-flow__timeline {
    padding-left: 38px;
  }

  .tp-flow__timeline::before {
    left: 12px;
  }

  .tp-flow__step-card {
    flex-direction: column;
    padding: 14px;
  }

  /* Notify */
  .tp-notify__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .tp-notify__subtitle {
    font-size: 13px;
  }

  .tp-notify__box {
    padding: 22px 18px;
    gap: 12px;
  }

  .tp-notify__box-icon {
    width: 38px;
    height: 38px;
  }

  .tp-notify__box-title {
    font-size: 16px;
  }

  .tp-notify__box-text {
    font-size: 12.5px;
  }

  /* CTA */
  .tp-cta__card {
    padding: 24px 16px;
    gap: 18px;
  }

  .tp-cta__title {
    font-size: 18px;
  }

  .tp-cta__text {
    font-size: 12.5px;
  }

  .tp-btn--cta {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13px;
  }

  /* FAQ */
  .tp-faq {
    padding: 44px 14px;
  }

  .tp-faq__title {
    font-size: 22px;
  }

  .tp-faq__question {
    padding: 14px 16px;
    font-size: 14px;
    gap: 8px;
  }

  .tp-faq__chevron {
    margin-left: 8px;
    width: 16px;
    height: 16px;
  }

  .tp-faq__answer {
    padding: 14px 16px 18px;
  }

  .tp-faq__answer p {
    font-size: 13px;
  }
}

/* ── Very Small Phone (max-width: 360px) ── */
@media (max-width: 360px) {

  .tp-hero {
    padding: 32px 12px;
    min-height: 300px;
  }

  .tp-hero__logo {
    margin-bottom: 16px;
  }

  .tp-hero__logo-img {
    width: 70px;
  }

  .tp-logo-tally {
    font-size: 32px;
  }

  .tp-logo-prime {
    font-size: 12px;
  }

  .tp-hero__headline--centered {
    font-size: 20px;
  }

  .tp-hero__subtitle {
    font-size: 14px;
  }

  .tp-btn--primary-gold,
  .tp-btn--secondary-white {
    padding: 12px 20px;
    font-size: 13px;
  }

  .tp-features {
    padding: 36px 12px 40px;
  }

  .tp-features__title {
    font-size: 22px;
  }

  .tp-feat-card {
    padding: 20px 14px;
  }

  .tp-flow {
    padding: 36px 10px;
  }

  .tp-flow__title {
    font-size: 18px;
  }

  .tp-flow__timeline {
    padding-left: 34px;
  }

  .tp-flow__timeline::before {
    left: 10px;
  }

  .tp-flow__step-marker {
    width: 26px;
    height: 26px;
  }

  .tp-flow__step-number {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .tp-notify {
    padding: 40px 12px;
  }

  .tp-notify__card {
    padding: 16px 16px;
  }

  .tp-notify__input,
  .tp-notify__select {
    height: 32px;
    font-size: 12px;
  }

  .tp-cta {
    padding: 20px 10px 36px;
  }

  .tp-cta__card {
    padding: 20px 14px;
  }

  .tp-cta__title {
    font-size: 17px;
  }

  .tp-faq {
    padding: 36px 10px;
  }

  .tp-faq__title {
    font-size: 20px;
  }

  .tp-faq__question {
    padding: 12px 14px;
    font-size: 13px;
  }

  .tp-faq__answer p {
    font-size: 12.5px;
  }
}

/* ── Prevent horizontal overflow globally ── */
.tp-hero,
.tp-features,
.tp-flow,
.tp-notify,
.tp-cta,
.tp-faq {
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}
