/* ==========================================================================
   NRI Vivaham — Global Styles
   ========================================================================== */

:root {
  --primary: #FF0059;
  --primary-dark: #d9004b;
  --primary-light: #fff0f5;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 89, 0.35);
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Navbar */
.navbar-brand img {
  height: 48px;
  width: auto;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 190px;
}

.store-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 89, 0.3);
}

.store-btn .store-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  line-height: 1;
}

.store-btn .store-name {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.store-btn svg {
  flex-shrink: 0;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #ff3377 100%);
  padding: 5rem 0;
  color: #fff;
}

.cta-section.text-center {
  text-align: center;
}

.cta-section .store-btn {
  background: #fff;
  color: var(--text-dark);
}

.cta-section .store-btn:hover {
  background: #1a1a2e;
  color: #fff;
}

/* Footer */
footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--primary);
}

footer.footer-main {
  padding: 3rem 0 1.5rem;
}

footer .footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
}

/* Section labels (shared) */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 50%, #fff0f5 100%);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 89, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.5rem 0;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  width: 85%;
  max-width: 360px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 0, 89, 0.1) 0%, transparent 68%);
  border-radius: 50%;
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(255, 0, 89, 0.16);
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-img {
    max-width: 320px;
  }
}

@media (min-width: 992px) {
  .hero-img {
    max-width: 380px;
  }
}

.feature-section {
  padding: 3.5rem 0;
}

.feature-section:nth-child(even) {
  background-color: var(--primary-light);
}

.feature-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.feature-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-img {
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .feature-img {
    max-width: 280px;
  }
}

@media (min-width: 992px) {
  .feature-img {
    max-width: 300px;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-hero {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 50%, #fff0f5 100%);
  padding: 6rem 0 4rem;
}

.about-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}

.about-hero .lead {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-hero-img {
  max-width: 320px;
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(255, 0, 89, 0.15);
}

.about-section {
  padding: 4rem 0;
}

.about-section:nth-child(even) {
  background-color: var(--primary-light);
}

.about-text {
  color: var(--text-muted);
  line-height: 1.9;
}

.value-card {
  background: #fff;
  border: 1px solid rgba(255, 0, 89, 0.1);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 0, 89, 0.1);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-box .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Download Page
   ========================================================================== */

.download-hero {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 50%, #fff0f5 100%);
  padding: 6rem 0 4rem;
}

.download-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}

.download-hero .lead {
  color: var(--text-muted);
  line-height: 1.8;
}

.download-img {
  max-width: 280px;
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(255, 0, 89, 0.15);
}

@media (min-width: 992px) {
  .download-img {
    max-width: 320px;
  }
}

.download-features {
  padding: 4rem 0;
  background: #fff;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary-light);
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-pill span {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-page {
  padding: 6rem 0 4rem;
  min-height: 70vh;
}

.contact-page h1 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(255, 0, 89, 0.12);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border-color: rgba(0, 0, 0, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 89, 0.15);
}

.success-alert {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQs Page
   ========================================================================== */

.faq-page {
  padding: 6rem 0 4rem;
  min-height: 70vh;
}

.faq-page h1 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.faq-intro {
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

.accordion-item {
  border: 1px solid rgba(255, 0, 89, 0.12);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(255, 0, 89, 0.2);
}

.accordion-body {
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.25rem 1.25rem;
}

.faq-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
}

.faq-category:first-of-type {
  margin-top: 2rem;
}

.faq-contact {
  background: var(--primary-light);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
}

/* ==========================================================================
   Legal Pages (Terms & Privacy)
   ========================================================================== */

.legal-page {
  padding: 6rem 0 4rem;
  min-height: 70vh;
}

.legal-page h1 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 1.25rem;
}
