/* ==============================
   Digital Tijori — Website Styles
   ============================== */

:root {
  --navy:    #1a2744;
  --navy-dark: #111b33;
  --gold:    #c9a84c;
  --gold-light: #e8c96a;
  --maroon:  #8b1a2e;
  --white:   #ffffff;
  --off-white: #f8f5ef;
  --text:    #1a1a2e;
  --text-muted: #5a5a7a;
  --border:  #e2ddd4;
  --shadow:  0 4px 24px rgba(26, 39, 68, 0.12);
  --radius:  12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  width: 100%;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: not-allowed;
  opacity: 0.7;
}
.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* ======= NAV ======= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; }
.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ======= HERO ======= */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a3a60 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-ctas .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero-ctas .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.hero-note {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 260px;
  background: var(--navy-dark);
  border-radius: 32px;
  border: 2px solid rgba(201,168,76,0.3);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.screenshot { width: 100%; display: block; }

/* ======= SECTION SHARED ======= */
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy-dark);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= PROBLEM ======= */
.problem {
  background: var(--off-white);
  padding: 80px 0;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
}
.problem-icon { font-size: 36px; margin-bottom: 16px; }
.problem-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.problem-solution {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 600;
}

/* ======= FEATURES ======= */
.features {
  padding: 80px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 16px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy-dark);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ======= HOW IT WORKS ======= */
.how-it-works {
  background: var(--navy-dark);
  padding: 80px 0;
}
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-sub { color: rgba(255,255,255,0.6); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.step-content h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
}
.step-content p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  max-width: 220px;
}
.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: rgba(201,168,76,0.3);
  margin-top: 26px;
  align-self: flex-start;
}
.how-screenshots {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.how-screenshot {
  width: 200px;
  border-radius: 20px;
  border: 2px solid rgba(201,168,76,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ======= PRICING ======= */
.pricing {
  padding: 80px 0;
  background: var(--off-white);
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--premium {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 24px;
}
.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.pricing-features li:last-child { border-bottom: none; }
.check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn { width: 100%; }
.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ======= TRUST ======= */
.trust {
  padding: 80px 0;
  background: var(--white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item {
  text-align: center;
  padding: 28px 20px;
}
.trust-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.trust-item h3 {
  font-size: 17px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ======= FAQ ======= */
.faq {
  padding: 80px 0;
  background: var(--off-white);
}
.faq-container { max-width: 720px; }
.faq-list { margin-top: 8px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ======= FINAL CTA ======= */
.final-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ======= FOOTER ======= */
.footer {
  background: var(--navy-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo { height: 32px; width: auto; }
.footer-tagline {
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-legal {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-frame { width: 200px; }

  .problem-cards { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step-connector {
    width: 2px;
    height: 32px;
    flex: none;
    margin: 0;
    align-self: center;
  }

  .how-screenshots {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .how-screenshot { width: 160px; flex-shrink: 0; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }

  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
}
