/* ============================================
   M.Can ERP - Marketing Site Stylesheet
   ============================================ */

:root {
  --navy: #0d426c;
  --navy-dark: #08304e;
  --navy-light: #1a5a8a;
  --orange: #f48e08;
  --orange-dark: #d97a00;
  --orange-light: #ffa733;

  --bg: #fafafa;
  --bg-elev: #ffffff;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --surface-border: rgba(255, 255, 255, 0.7);
  --text: #0d2845;
  --text-strong: #0d426c;
  --text-muted: #5d6b7a;
  --border: rgba(13, 66, 108, 0.1);
  --border-strong: rgba(13, 66, 108, 0.2);
  --shadow-sm: 0 4px 12px rgba(13, 66, 108, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 66, 108, 0.1);
  --shadow-lg: 0 16px 40px rgba(13, 66, 108, 0.15);
  --shadow-orange: 0 8px 24px rgba(244, 142, 8, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --container-narrow: 960px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #06182e;
  --bg-elev: #0d2845;
  --surface: rgba(13, 66, 108, 0.35);
  --surface-strong: rgba(13, 66, 108, 0.6);
  --surface-border: rgba(244, 142, 8, 0.15);
  --text: #f5f5f5;
  --text-strong: #ffffff;
  --text-muted: #a8b5c4;
  --border: rgba(244, 142, 8, 0.12);
  --border-strong: rgba(244, 142, 8, 0.25);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

html[dir="rtl"] body { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Background decorations */
body::before, body::after {
  content: ''; position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(60px);
}
body::before {
  top: -200px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244, 142, 8, 0.12) 0%, transparent 70%);
}
body::after {
  top: 30%; left: -250px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13, 66, 108, 0.1) 0%, transparent 70%);
}
[data-theme="dark"] body::before { background: radial-gradient(circle, rgba(244, 142, 8, 0.2) 0%, transparent 70%); }
[data-theme="dark"] body::after { background: radial-gradient(circle, rgba(244, 142, 8, 0.08) 0%, transparent 70%); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--text-muted); line-height: 1.7; }

.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(244, 142, 8, 0.12);
  color: var(--orange);
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid rgba(244, 142, 8, 0.2);
}
[data-theme="dark"] .eyebrow { background: rgba(244, 142, 8, 0.15); }

.section-eyebrow {
  display: block; text-align: center; color: var(--orange);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub {
  text-align: center; max-width: 600px;
  margin: 0 auto var(--space-6);
  font-size: 1.0625rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #ffffff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); color: #ffffff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(244, 142, 8, 0.4); }
.btn-ghost { background: var(--surface); color: var(--text-strong); border-color: var(--border-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-strong); color: var(--text-strong); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.7);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background var(--transition), box-shadow var(--transition);
}
[data-theme="dark"] .site-header { background: rgba(6, 24, 46, 0.7); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) 0; gap: var(--space-5); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark { display: none; }
[data-theme="dark"] .nav-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-dark { display: block; }

.nav-links { display: flex; gap: var(--space-5); list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.9375rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--orange); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--surface-strong); color: var(--orange); }
.lang-btn { padding: 8px 14px; width: auto; font-size: 0.8125rem; font-weight: 600; }
.mobile-menu-btn { display: none; }

/* Hero */
.hero { padding: var(--space-8) 0 var(--space-9); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; }
.hero-content h1 { margin: var(--space-4) 0 var(--space-4); font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.1; }
.hero-sub { font-size: 1.125rem; margin-bottom: var(--space-6); max-width: 520px; }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-5); }
.hero-meta { display: flex; gap: var(--space-5); font-size: 0.875rem; color: var(--text-muted); flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 6px; }
.hero-meta-item i { color: var(--orange); font-size: 1rem; }

.hero-visual { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
.dashboard-mock {
  width: 100%; max-width: 480px;
  background: var(--surface-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative; z-index: 2;
}
[data-theme="dark"] .dashboard-mock { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(244, 142, 8, 0.1); }

.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.dash-title { font-size: 0.875rem; font-weight: 600; color: var(--text-strong); display: flex; align-items: center; gap: 8px; }
.dash-title i { color: var(--orange); }
.dash-dots { display: flex; gap: 4px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-3); }
.dash-stat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.dash-stat-label { font-size: 0.6875rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-stat-value { font-size: 1.125rem; font-weight: 600; color: var(--text-strong); }
.dash-stat-value.accent { color: var(--orange); }

.dash-chart { height: 100px; background: linear-gradient(180deg, rgba(244, 142, 8, 0.12) 0%, transparent 100%); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.dash-chart svg { width: 100%; height: 100%; }

.dash-rows { display: flex; flex-direction: column; gap: 8px; margin-top: var(--space-3); }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--bg-elev); border-radius: var(--radius-sm); font-size: 0.8125rem; }
.dash-row-label { display: flex; align-items: center; gap: 8px; color: var(--text-strong); }
.dash-row-label i { color: var(--orange); font-size: 0.9375rem; }
.dash-row-value { color: var(--text-muted); font-weight: 500; }
.dash-status { padding: 3px 8px; border-radius: var(--radius-pill); font-size: 0.6875rem; font-weight: 600; }
.dash-status.success { background: rgba(34, 197, 94, 0.15); color: rgb(22, 163, 74); }

.float-card {
  position: absolute;
  background: var(--surface-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.float-card.fc-1 { top: 20px; left: -20px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 30px; right: -10px; animation-delay: -3s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.fc-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; color: #fff; flex-shrink: 0; }
.fc-icon.orange { background: var(--orange); }
.fc-icon.navy { background: var(--navy); }
.fc-text strong { display: block; color: var(--text-strong); font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.fc-text span { color: var(--text-muted); font-size: 0.6875rem; }

/* Trust strip */
.trust-strip { padding: var(--space-6) 0; background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-value { font-size: 1.75rem; font-weight: 700; color: var(--orange); line-height: 1; }
.trust-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* Sections */
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-7) 0; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.feature-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] .feature-card { box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(244, 142, 8, 0.08); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.4); border-color: rgba(244, 142, 8, 0.3); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(244, 142, 8, 0.2) 0%, rgba(244, 142, 8, 0.08) 100%);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(244, 142, 8, 0.15);
}
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; line-height: 1.6; margin: 0; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.industry-card {
  background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover { transform: translateY(-3px); border-color: var(--orange); background: var(--surface-strong); }
.industry-icon { width: 44px; height: 44px; margin: 0 auto var(--space-3); background: rgba(13, 66, 108, 0.08); color: var(--navy); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.375rem; }
[data-theme="dark"] .industry-icon { background: rgba(244, 142, 8, 0.12); color: var(--orange); }
.industry-card h4 { font-size: 0.875rem; margin-bottom: 4px; color: var(--text-strong); }
.industry-card p { font-size: 0.75rem; line-height: 1.4; margin: 0; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); position: relative; }
.process-step {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.process-step-num {
  position: absolute; top: -16px; inset-inline-start: var(--space-5);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow-orange);
}
.process-step h3 { font-size: 1.125rem; margin: var(--space-3) 0 var(--space-2); }
.process-step p { font-size: 0.9375rem; margin: 0; }
.process-step-icon { font-size: 2rem; color: var(--navy); margin-bottom: var(--space-3); }
[data-theme="dark"] .process-step-icon { color: var(--orange); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.review-card {
  background: var(--surface-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-4px); }
.review-stars { display: flex; gap: 2px; color: var(--orange); font-size: 1rem; margin-bottom: var(--space-3); }
.review-text { flex: 1; font-size: 0.9375rem; color: var(--text-strong); line-height: 1.7; margin-bottom: var(--space-4); }
[data-theme="dark"] .review-text { color: #e5ecf2; }
.review-author { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9375rem; flex-shrink: 0; }
.review-avatar.alt { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); }
.review-name { font-size: 0.9375rem; font-weight: 600; color: var(--text-strong); line-height: 1.3; }
.review-role { font-size: 0.8125rem; color: var(--text-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: ''; position: absolute; top: -150px; right: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 142, 8, 0.3) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: var(--space-3); font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cta-banner p { color: rgba(255, 255, 255, 0.8); font-size: 1.0625rem; max-width: 560px; margin: 0 auto var(--space-5); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--orange); background: var(--surface-strong); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text-strong); list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  width: 20px; height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f48e08' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center/contain no-repeat;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-7); align-items: start; }
.contact-info-card {
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { margin-bottom: var(--space-3); }
.contact-info-card p { margin-bottom: var(--space-5); }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.contact-info-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; color: var(--text-strong); }
.contact-info-list li i { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(244, 142, 8, 0.12); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-info-list li strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 2px; font-weight: 500; }
.contact-info-list li a { color: var(--text-strong); font-weight: 500; }
.contact-info-list li a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--surface-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--text-strong); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 142, 8, 0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.form-submit { margin-top: var(--space-3); }
.honeypot { display: none !important; }

/* Toast */
.toast {
  position: fixed; top: 90px; inset-inline-end: var(--space-5);
  max-width: 360px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-start; gap: var(--space-3);
  z-index: 1000;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
html[dir="rtl"] .toast { transform: translateX(-120%); }
.toast.show { transform: translateX(0); opacity: 1; }
.toast.toast-success { border-inline-start: 4px solid #22c55e; }
.toast.toast-error { border-inline-start: 4px solid #ef4444; }
.toast-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.125rem; }
.toast-success .toast-icon { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.toast-error .toast-icon { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.toast-content strong { display: block; font-size: 0.9375rem; color: var(--text-strong); font-weight: 600; margin-bottom: 2px; }
.toast-content p { font-size: 0.8125rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Footer */
.site-footer {
  background: var(--surface);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: var(--space-7) 0 var(--space-5);
  margin-top: var(--space-9);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-6); margin-bottom: var(--space-6); }
.footer-brand img { height: 48px; margin-bottom: var(--space-3); }
.footer-brand .logo-light { display: block; }
.footer-brand .logo-dark { display: none; }
[data-theme="dark"] .footer-brand .logo-light { display: none; }
[data-theme="dark"] .footer-brand .logo-dark { display: block; }
.footer-brand p { font-size: 0.875rem; max-width: 300px; margin: 0; }
.footer-col h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-strong); margin-bottom: var(--space-3); font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; margin: 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { padding-top: var(--space-5); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); }
.footer-social { display: flex; gap: var(--space-2); }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px); }

/* WhatsApp floating */
.whatsapp-float {
  position: fixed; bottom: var(--space-5); inset-inline-end: var(--space-5);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  text-decoration: none; z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: #25d366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-meta { justify-content: center; }
  .hero-visual { height: 380px; max-width: 480px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid, .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: var(--space-4); gap: var(--space-3); }
  .form-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section { padding: var(--space-7) 0; }
  .hero { padding: var(--space-6) 0 var(--space-7); }
}
