/* ==================== CSS Variables ==================== */
:root {
  --primary: #1565C0;
  --primary-light: #42A5F5;
  --primary-dark: #0D47A1;
  --secondary: #F57C00;
  --secondary-light: #FFE0B2;
  --secondary-dark: #E65100;
  
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --text-hint: #94A3B8;
  --border: #E2E8F0;
  
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -8px rgba(0,0,0,0.12);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  --font-ar: 'Cairo', sans-serif;
  --font-fr: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-ar);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.fr {
  font-family: var(--font-fr);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border: 1.5px solid rgba(21, 101, 192, 0.15);
}

.btn-glass:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }

/* ==================== Navigation ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

[dir="ltr"] .nav-link::after {
  right: auto;
  left: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.lang-switch:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(21, 101, 192, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 124, 0, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #F0F7FF 0%, #FAFCFF 40%, #FFFBF5 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%231565C0' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.08), rgba(21, 101, 192, 0.04));
  color: var(--primary);
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1A1A2E, #16162A);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1A1A2E;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-frame-sm {
  width: 220px;
  height: 460px;
  border-radius: 36px;
}

.phone-frame-sm::before {
  width: 80px;
  height: 22px;
}

.phone-frame-sm .phone-screen {
  border-radius: 26px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.8);
  animation: float-gentle 4s ease-in-out infinite;
}

.floating-card-1 {
  top: 15%;
  right: -50px;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 50%;
  left: -60px;
  animation-delay: 1s;
}

.floating-card-3 {
  bottom: 18%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-icon i {
  width: 20px;
  height: 20px;
}

.fc-icon-blue {
  background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
  color: var(--primary);
}

.fc-icon-orange {
  background: linear-gradient(135deg, #FFF7ED, #FED7AA);
  color: var(--secondary);
}

.fc-icon-green {
  background: linear-gradient(135deg, #ECFDF5, #A7F3D0);
  color: var(--success);
}

.fc-text {
  display: flex;
  flex-direction: column;
}

.fc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.fc-sub {
  font-size: 12px;
  color: var(--text-hint);
  font-weight: 500;
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  margin-top: 40px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.stats-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: inline;
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stat-plus {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-decimal {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ==================== Section Headers ==================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.08), rgba(21, 101, 192, 0.04));
  color: var(--primary);
  border: 1px solid rgba(21, 101, 192, 0.1);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* ==================== How it Works ==================== */
.how-it-works {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.08);
  background: white;
}

.step-number-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(21, 101, 192, 0.05));
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 25px rgba(21, 101, 192, 0.25);
}

.step-icon-wrap i {
  width: 32px;
  height: 32px;
  color: white;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== Features ==================== */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.08);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(21, 101, 192, 0.05));
}

.feature-icon-wrap i {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.feature-icon-orange {
  background: linear-gradient(135deg, rgba(245, 124, 0, 0.1), rgba(245, 124, 0, 0.05));
}

.feature-icon-orange i {
  color: var(--secondary);
}

.feature-icon-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.feature-icon-green i {
  color: var(--success);
}

.feature-icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.feature-icon-purple i {
  color: #8B5CF6;
}

.feature-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== Services ==================== */
.services-section {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  padding: 32px 20px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.1);
  background: white;
}

.service-emoji {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==================== Artisan CTA ==================== */
.artisan-section {
  background: var(--bg);
}

.artisan-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0A3D7C 100%);
  border-radius: var(--radius-2xl);
  padding: 64px;
  color: white;
  overflow: hidden;
  position: relative;
}

.artisan-cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,124,0,0.15) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.artisan-cta::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
}

.artisan-content {
  position: relative;
  z-index: 2;
}

.artisan-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.artisan-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.artisan-content p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.8;
}

.artisan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.af-item i {
  width: 20px;
  height: 20px;
  color: var(--secondary-light);
  flex-shrink: 0;
}

.artisan-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.artisan-phone {
  position: relative;
}

/* ==================== Download ==================== */
.download-section {
  background: var(--bg);
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: white;
  border-radius: var(--radius-2xl);
  padding: 56px 64px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.04);
}

.download-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.download-content > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 420px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: block;
  height: 56px;
  transition: var(--transition);
  position: relative;
}

.store-btn img {
  height: 100%;
  width: auto;
}

.store-btn:hover {
  transform: translateY(-3px);
}

.coming-soon-badge {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.coming-soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

[dir="ltr"] .coming-soon {
  right: auto;
  left: -8px;
}

.download-qr {
  flex-shrink: 0;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.qr-box img {
  width: 120px;
  height: 120px;
}

.qr-label {
  font-size: 13px;
  color: var(--text-hint);
  font-weight: 600;
}

/* ==================== Contact ==================== */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.08);
  background: white;
}

.contact-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.2);
}

.contact-icon-wrap i {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-card a, .contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-card a:hover {
  color: var(--primary);
}

/* ==================== Footer ==================== */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 280px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-logo {
  height: 96px;
  width: 96px;
  object-fit: cover;
  border-radius: 20px;
}

.footer-logo-text {
  display: none;
}

.footer-links h4, .footer-social h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-right: 6px;
}

[dir="ltr"] .footer-links a:hover {
  padding-right: 0;
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
}

.social-link i {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ==================== Back to Top ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
  z-index: 999;
}

[dir="ltr"] .back-to-top {
  left: auto;
  right: 30px;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top i {
  width: 24px;
  height: 24px;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .hero-container {
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .artisan-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .artisan-features {
    justify-items: center;
  }
  
  .artisan-visual {
    display: none;
  }
  
  .download-card {
    flex-direction: column;
    text-align: center;
    padding: 48px 40px;
  }
  
  .download-content > p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .phone-frame {
    width: 220px;
    height: 460px;
    border-radius: 34px;
  }
  
  .phone-frame::before {
    width: 80px;
    height: 22px;
  }
  
  .phone-screen {
    border-radius: 26px;
  }
  
  .floating-card {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .floating-card-1 {
    right: -20px;
  }
  
  .floating-card-2 {
    left: -30px;
  }
  
  .floating-card-3 {
    right: -15px;
  }
  
  .fc-icon {
    width: 32px;
    height: 32px;
  }
  
  .fc-icon i {
    width: 16px;
    height: 16px;
  }
  
  .stats-container {
    gap: 24px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-card {
    padding: 28px 24px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-logo-link {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .artisan-cta {
    padding: 40px 28px;
  }
  
  .artisan-content h2 {
    font-size: 26px;
  }
  
  .artisan-features {
    grid-template-columns: 1fr;
  }
  
  .download-card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  
  .stats-container {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-item {
    width: 40%;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .service-card {
    padding: 24px 12px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .floating-card-2 {
    display: none;
  }
}

/* ==================== Inner Page Navbar ==================== */
.navbar-inner .logo-img {
  height: 60px;
}

/* ==================== Legal Pages ==================== */
.legal-header {
  padding-top: 140px;
  padding-bottom: 48px;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.legal-header .container {
  position: relative;
  z-index: 1;
}

.legal-header h1 {
  font-size: 42px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.legal-header .legal-date {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.legal-header .about-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.legal-page {
  padding-top: 48px;
  padding-bottom: 80px;
  background: var(--bg);
}

.legal-page .container {
  max-width: 860px;
}

.legal-content {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(21, 101, 192, 0.1);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  position: relative;
  padding-right: 24px;
  padding-left: 0;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

body.fr .legal-content ul li {
  padding-right: 0;
  padding-left: 24px;
}

body.fr .legal-content ul li::before {
  right: auto;
  left: 0;
}

.legal-contact {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.04), rgba(245, 124, 0, 0.04));
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(21, 101, 192, 0.1);
}

.legal-contact strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .legal-header {
    padding-top: 110px;
    padding-bottom: 32px;
  }

  .legal-header h1 {
    font-size: 28px;
  }
  
  .legal-page {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  
  .legal-content {
    padding: 24px 20px;
  }
}
