/* ============ Reset & Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --success: #22C55E;
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #1A1A1A;
  --border: #1F1F1F;
  --text: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #0A0A0A;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; font-weight: 700; }
.logo-sub { font-size: 11px; color: var(--text-secondary); }

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

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

.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============ Hero ============ */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

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

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFF 30%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #0A0A0A;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-full { width: 100%; }

/* ============ Phone Mockup ============ */
.hero-visual { display: flex; justify-content: center; }

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1A1A1A, #111);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0A0A0A;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0A0A0A;
  border-radius: 30px;
  padding: 40px 24px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ============ Mock Login Screen ============ */
.mock-login {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.mock-login-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: #0A0A0A;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.mock-login-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
}

.mock-login-subtitle {
  color: #888888;
  font-size: 11px;
  text-align: center;
  margin-bottom: 12px;
}

.mock-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 11px 14px;
}

.mock-input-icon {
  font-size: 12px;
  opacity: 0.5;
}

.mock-input-line {
  flex: 1;
  height: 6px;
  background: #2A2A2A;
  border-radius: 3px;
}

.mock-input-line.short {
  max-width: 60%;
}

.mock-button {
  background: var(--primary);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.mock-button-text {
  color: #0A0A0A;
  font-weight: 700;
  font-size: 13px;
}

.mock-link {
  color: #888888;
  font-size: 10px;
  text-align: center;
  margin-top: 8px;
  text-decoration: underline;
}

/* ============ Sections ============ */
.section { padding: 80px 0; }

.section-title {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 56px;
}

/* ============ Features ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

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

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ Stats ============ */
.stats-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 52px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { font-size: 24px; margin-inline-start: 4px; }

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============ Apps ============ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.app-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
}

.app-card.driver:hover { border-color: var(--success); }
.app-card.restaurant:hover { border-color: var(--primary); }

.app-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.app-card.driver .app-icon {
  background: linear-gradient(135deg, var(--success), #16A34A);
}

.app-icon-text {
  color: #0A0A0A;
  font-size: 22px;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: -0.5px;
  font-family: 'Cairo', sans-serif;
  text-align: center;
  line-height: 1;
}

.app-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}

.app-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0A0A0A;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.7;
}

.cta-content .btn-primary {
  background: #0A0A0A;
  color: #FFFFFF;
}

.cta-content .btn-primary:hover {
  background: #1A1A1A;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info a, .contact-info div {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ Form Styles ============ */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-inline-start: 40px;
}

[dir="ltr"] .form-group select { background-position: right 16px center; padding-inline-start: 16px; padding-inline-end: 40px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; height: 480px; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 30px; }
  .footer-content { grid-template-columns: 1fr; }
  .nav { display: none; }
}
