/* Dharty Promotional Website Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Gujarati:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-color: #1B5E20;      /* Deep Forest Green */
  --primary-hover: #144718;
  --secondary-color: #F5A623;    /* Warm Gold */
  --accent-color: #0277BD;       /* Accent Blue */
  --bg-color: #F8FAFC;           /* Clean Slate White */
  --card-bg: #FFFFFF;
  --text-color: #1E293B;         /* Slate 800 */
  --muted-text: #64748B;         /* Slate 500 */
  --border-color: #E2E8F0;       /* Slate 200 */
  --success-color: #2E7D32;
  --warning-color: #E65100;
  --error-color: #D32F2F;
  --btn-bg: #FF8F00;             /* Vibrant Amber */
  --btn-hover: #E07D00;
  --nav-active: #F5A623;

  /* Typography */
  --font-en: 'Outfit', 'Inter', sans-serif;
  --font-gu: 'Noto Sans Gujarati', sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-en);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Language Toggling Visibility */
body.lang-en .lang-gu {
  display: none !important;
}

body.lang-gu .lang-en {
  display: none !important;
}

/* Apply Gujarati Font when Gujarati is active */
body.lang-gu {
  font-family: var(--font-gu);
}

/* Transition for Language Swapping */
.lang-fade {
  transition: opacity 0.15s ease-in-out;
}

.lang-fade-out {
  opacity: 0;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #0F172A; /* Slate 900 */
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

p {
  font-size: 1.125rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container {
  height: 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-img {
  height: 120%; /* Scaled slightly to counter the known padding issue */
  width: 120%;
  object-fit: contain;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted-text);
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Controls (Language Toggle) */
.controls-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background-color: #F1F5F9;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  color: var(--text-color);
}

.lang-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-color);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(27, 94, 32, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(245, 166, 35, 0.03) 0%, transparent 50%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.app-badge {
  background-color: rgba(27, 94, 32, 0.08);
  color: var(--primary-color);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.5rem;
}

.hero-tagline {
  color: var(--muted-text);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

/* Button & Google Play Badge - Disabled/Coming Soon */
.btn-coming-soon {
  background-color: #0F172A; /* Sleek dark slate to mimic store buttons */
  color: #94A3B8; /* Muted text to indicate disabled */
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: not-allowed;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-coming-soon svg {
  width: 24px;
  height: 24px;
  fill: #94A3B8;
}

.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.btn-title {
  font-size: 1rem;
  font-weight: 600;
  color: #E2E8F0;
}

.badge-coming-soon {
  background-color: var(--secondary-color);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  text-transform: uppercase;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header h2 {
  color: #0F172A;
}

.section-header p {
  color: var(--muted-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 94, 32, 0.04);
  border-color: rgba(27, 94, 32, 0.15);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(27, 94, 32, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.feature-card p {
  color: var(--muted-text);
  font-size: 1.05rem;
}

/* Secondary Page Layouts (Privacy & Terms) */
.page-container {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  flex: 1;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.legal-body p, .legal-body li {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-body ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Footer Section */
footer {
  background-color: #0F172A; /* Deep Slate dark background */
  color: #94A3B8;
  padding: 4rem 0 3rem 0;
  border-top: 1px solid #1E293B;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
}

.footer-brand .brand-name {
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem;
  }
  
  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    display: none; /* Controlled by JS */
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
  }
}
