/* Aleef Marketing Portal - Main Stylesheet */
/* Colors from aleef-colors.json */

:root {
  /* Primary Colors */
  --primary-main: #52c171;
  --primary-hover: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #dcfce7;
  
  /* Accent Colors */
  --accent-main: #14b8a6;
  --accent-hover: #0d9488;
  
  /* Secondary Colors */
  --secondary-main: #a855f7;
  --secondary-hover: #9333ea;
  
  /* Semantic Colors */
  --success: #38B000;
  --warning: #f59e0b;
  --danger: #E63946;
  --info: #0096C7;
  
  /* Neutral Colors */
  --background: #F8FAF9;
  --foreground: #1B1B1B;
  --surface: #ffffff;
  --border: #E5E5E5;
  --border-hover: #d4d4d4;
  
  /* Text Colors */
  --text-primary: #1B1B1B;
  --text-secondary: #6B6B6B;
  --text-tertiary: #737373;
  --text-disabled: #a3a3a3;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 6px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 10px 20px -3px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 4px 6px rgba(0, 0, 0, 0.08);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-button: 14px;
  --radius-card: 16px;
  --radius-large-card: 24px;
  --radius-input: 12px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Noto Kufi Arabic', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
  
  /* Layout */
  --max-width: 1280px;
  --touch-target-min: 44px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem; /* 48px */
}

h2 {
  font-size: 2.25rem; /* 36px */
}

h3 {
  font-size: 1.875rem; /* 30px */
}

h4 {
  font-size: 1.5rem; /* 24px */
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-main);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-hover);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target-min);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-main);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-main);
  border: 2px solid var(--primary-main);
}

.btn-secondary:hover {
  background-color: var(--primary-main);
  color: white;
}

/* Cards */
.card {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Sections */
section {
  padding: 4rem 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-main);
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-main);
}

.nav-cta {
  margin-right: auto;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 100%);
  margin-top: 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-large-card);
  box-shadow: var(--shadow-xl);
}

/* Features Overview */
.features-overview {
  background-color: var(--surface);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Why Aleef Section */
.why-aleef {
  background-color: var(--background);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.why-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary-main);
}

.why-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.why-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Statistics Section */
.statistics {
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Clients Section */
.clients-section {
  background-color: var(--surface);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-header {
  margin-bottom: 1.5rem;
}

.clients-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.clients-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background-color: var(--background);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all 200ms ease-in-out;
  height: 100%;
  min-height: 160px;
  cursor: pointer;
  position: relative;
}

.client-logo:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background-color: var(--surface);
}

.client-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 200ms ease-in-out;
  display: block;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-placeholder {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.3) 0%, var(--background) 100%);
  border: 2px dashed var(--primary-main);
  border-radius: var(--radius-xl);
  opacity: 0.7;
}

.client-logo-placeholder:hover {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.4) 0%, var(--background) 100%);
}

.placeholder-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
}

.placeholder-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-main);
  letter-spacing: 0.5px;
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 100%);
}

.cta-content h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: var(--text-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo .logo-image {
  width: 40px;
  height: 40px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Page Hero (for internal pages) */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 100%);
  margin-top: 80px;
}

.page-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Feature Detail Sections */
.feature-detail {
  padding: 4rem 0;
  background-color: var(--surface);
}

.feature-detail:nth-child(even) {
  background-color: var(--background);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-detail-reverse .feature-detail-grid {
  direction: ltr;
}

.feature-detail-reverse .feature-detail-content {
  direction: rtl;
}

.feature-detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.feature-detail-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.feature-detail-content h2 {
  margin-bottom: 1rem;
}

.feature-detail-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary-main);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-detail-image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

/* Roles Grid */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.role-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

.role-badge svg {
  width: 18px;
  height: 18px;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
  border: 3px solid var(--primary-main);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-main);
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--primary-main);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--primary-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.pricing-note svg {
  width: 24px;
  height: 24px;
  color: var(--primary-main);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.pricing-note p {
  margin: 0;
  color: var(--text-primary);
}

/* Comparison Table */
.comparison-section {
  padding: 4rem 0;
  background-color: var(--surface);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table tbody tr:hover {
  background-color: var(--background);
}

.comparison-table td:first-child {
  text-align: right;
  font-weight: 600;
}

.featured-col {
  background-color: var(--primary-light);
}

.comparison-table svg {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  display: block;
}

.comparison-table svg[data-lucide="check"] {
  color: var(--success);
}

.comparison-table svg[data-lucide="x"] {
  color: var(--text-tertiary);
}

/* Pricing FAQ */
.pricing-faq {
  padding: 4rem 0;
  background-color: var(--background);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.faq-quick-item {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.faq-quick-item h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-main);
}

.faq-quick-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper h2 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  margin-bottom: 2rem;
}

.contact-form {
  background-color: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--surface);
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-main);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form button svg {
  width: 20px;
  height: 20px;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-info-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Form Help Text */
.form-help {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Field Error Messages */
.field-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown).input-error {
  border-color: var(--danger);
}

.input-error {
  border-color: var(--danger) !important;
}

/* Form Message */
.form-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  text-align: center;
  display: none;
}

.form-message.success {
  background-color: var(--success);
  color: white;
}

.form-message.error {
  background-color: var(--danger);
  color: white;
}

/* Checkbox in form */
.form-group input[type="checkbox"] {
  width: auto;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.form-group label:has(input[type="checkbox"]) {
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.form-group label:has(input[type="checkbox"]) a {
  color: var(--primary-main);
  text-decoration: underline;
  margin: 0 0.25rem;
}

.contact-info-card a {
  display: block;
  color: var(--primary-main);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--primary-main);
}

.faq-category-title svg {
  width: 32px;
  height: 32px;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-card-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  cursor: pointer;
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--primary-main);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--primary-main);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* About Page */
.about-story {
  padding: 4rem 0;
  background-color: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

.about-problem {
  padding: 4rem 0;
  background-color: var(--background);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.problem-icon {
  width: 70px;
  height: 70px;
  background-color: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.problem-icon svg {
  width: 36px;
  height: 36px;
  color: var(--danger);
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-secondary);
  margin: 0;
}

.about-vision {
  padding: 4rem 0;
  background-color: var(--surface);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.vision-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 100%);
  padding: 3rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.vision-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-main), var(--accent-main));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.vision-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.vision-card h2 {
  margin-bottom: 1rem;
}

.vision-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.about-values {
  padding: 4rem 0;
  background-color: var(--background);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary-main);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
  margin: 0;
}

/* Screenshots Page */
.screenshots-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.screenshot-item {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.screenshot-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.screenshot-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.screenshot-caption {
  padding: 1.5rem;
}

.screenshot-caption h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.screenshot-caption p {
  color: var(--text-secondary);
  margin: 0;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  .page-hero-content h1 {
    font-size: 2rem;
  }
  
  .nav-menu,
  .nav-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .features-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* Tablet: 2 columns */
  @media (min-width: 768px) and (max-width: 1023px) {
    .clients-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 700px;
    }
    
    .client-logo:last-child {
      grid-column: 1 / -1;
      max-width: 400px;
      margin: 0 auto;
    }
  }
  
  /* Mobile: Stack vertically */
  @media (max-width: 767px) {
    .clients-section {
      padding: 2rem 0;
    }
    
    .clients-header {
      margin-bottom: 1.25rem;
    }
    
    .clients-title {
      font-size: 1.5rem;
      margin-bottom: 0.375rem;
    }
    
    .clients-subtitle {
      font-size: 0.9375rem;
    }
    
    .clients-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
      max-width: 100%;
    }
    
    .client-logo {
      padding: 2rem 1.5rem;
      min-height: 140px;
    }
    
    .client-logo img {
      max-width: 160px;
      max-height: 80px;
    }
    
    .placeholder-content {
      min-height: 140px;
    }
    
    .placeholder-text {
      font-size: 1rem;
    }
  }
  
  .feature-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-detail-reverse .feature-detail-grid {
    direction: rtl;
  }
  
  .roles-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card-featured {
    transform: scale(1);
  }
  
  .pricing-card-featured:hover {
    transform: scale(1) translateY(-8px);
  }
  
  .pricing-notes {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
  }
}
