/* Best Islam App — Marketing Landing Page */
/* Design tokens from app's DESIGN_SYSTEM.md */

:root {
  --color-primary: #228B22;
  --color-primary-dark: #156515;
  --color-secondary: #DAA520;
  --color-accent: #48D1CC;
  --color-background: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-surface-elevated: #F8F8F6;
  --color-text-primary: #1C1C1E;
  --color-text-secondary: #636366;
  --color-text-tertiary: #8E8E93;
  --color-border: #E5E5EA;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius-card: 16px;
  --radius-button: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-background);
  min-height: 100vh;
  position: relative;
}

/* Subtle Islamic geometric pattern overlay */
.pattern-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle at 20% 80%,
    rgba(72, 209, 204, 0.04) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 80% 20%,
    rgba(34, 139, 34, 0.04) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Hero */
.hero {
  padding: 64px 0 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border: none;
  border-radius: var(--radius-button);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.35);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-icon {
  font-size: 22px;
}

.cta-button-large {
  padding: 20px 40px;
  font-size: 20px;
}

/* Features */
.features {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
  color: var(--color-text-primary);
}

.section-intro {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-text-primary);
}

.feature-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Values */
.values {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 139, 34, 0.03) 100%);
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
}

.value-item strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-text-primary);
}

.cta-text {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 0 0 32px;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.footer-text {
  font-size: 15px;
  color: var(--color-text-tertiary);
  margin: 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 48px 0 64px;
  }

  .features,
  .values,
  .cta {
    padding: 48px 0;
  }

  .feature-card {
    padding: 24px;
  }
}
