/* Zakat Plus Website Styles */

:root {
  --primary-green: #16A34A;
  --primary-green-dark: #15803D;
  --primary-green-light: #22C55E;
  --bg-light-green: #F0FDF4;
  --bg-card: #ECFDF5;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --gold: #EAB308;
  --gold-dark: #CA8A04;
  --orange: #F97316;
  --border-radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  background: var(--white);
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-green);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-green);
}

.nav-cta {
  background: var(--primary-green);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-green-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-light-green) 0%, var(--white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--primary-green);
}

.hero-content .tagline {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-green);
  font-weight: 500;
}

.badge svg {
  width: 16px;
  height: 16px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid #E5E7EB;
}

.btn-secondary:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-playstore {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid #E5E7EB;
}

.btn-playstore:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-playstore-white {
  background: var(--white);
  color: var(--primary-green);
}

.btn-playstore-white:hover {
  background: var(--bg-light-green);
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  max-width: 300px;
}

.phone-mockup img {
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-light-green);
  padding: 32px;
  border-radius: var(--border-radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

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

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light-green);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--primary-green);
  opacity: 0.3;
}

/* Privacy Section */
.privacy-section {
  padding: 100px 0;
  background: var(--white);
}

.privacy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privacy-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.privacy-text p {
  color: var(--text-gray);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.privacy-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-feature svg {
  width: 24px;
  height: 24px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.privacy-feature span {
  color: var(--text-dark);
  font-weight: 500;
}

.privacy-visual {
  display: flex;
  justify-content: center;
}

.shield-icon {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.shield-icon svg {
  width: 120px;
  height: 120px;
  color: var(--white);
}

/* App Screenshots */
.screenshots {
  padding: 100px 0;
  background: var(--bg-light-green);
  overflow: hidden;
}

.screenshots-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshot-item {
  flex: 0 0 auto;
  width: calc((100% - 80px) / 5);
  max-width: 200px;
  min-width: 160px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-green);
}

.cta-section .btn-primary:hover {
  background: var(--bg-light-green);
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-buttons .btn {
  min-width: 200px;
}

.blessing {
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-light);
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--primary-green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-green-light);
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.legal-page .last-updated {
  color: var(--text-gray);
  margin-bottom: 40px;
  font-style: italic;
}

.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.legal-page p {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-page a {
  color: var(--primary-green);
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page .highlight-box {
  background: var(--bg-light-green);
  border-left: 4px solid var(--primary-green);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.legal-page .highlight-box p {
  margin-bottom: 0;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: 40px;
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .privacy-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .privacy-features {
    align-items: center;
  }

  .privacy-visual {
    order: -1;
    margin-bottom: 40px;
  }

  .screenshots-wrapper {
    gap: 16px;
    max-width: 100%;
  }

  .screenshot-item {
    width: calc((100% - 64px) / 5);
    min-width: 140px;
    max-width: 180px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .tagline {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

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

  .screenshots {
    padding: 60px 0;
  }

  .screenshots .container {
    padding: 0;
  }

  .screenshots .section-header {
    padding: 0 24px;
  }

  .screenshots-wrapper {
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .screenshots-wrapper::-webkit-scrollbar {
    display: none;
  }

  .screenshot-item {
    flex: 0 0 auto;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    scroll-snap-align: start;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-page h1 {
    font-size: 1.75rem;
  }

  .legal-page h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .shield-icon {
    width: 180px;
    height: 180px;
  }

  .shield-icon svg {
    width: 80px;
    height: 80px;
  }

  .screenshots .section-header {
    padding: 0 16px;
  }

  .screenshots-wrapper {
    padding: 0 16px 20px;
    gap: 10px;
  }

  .screenshot-item {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    border-radius: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .features,
  .how-it-works,
  .privacy-section,
  .cta-section {
    padding: 60px 0;
  }

  .legal-page {
    padding: 100px 0 60px;
  }
}
