:root{
  --bg: #ffffff;
  --panel: #f9f9f9;
  --muted: #666666;
  --text: #1B1B1B;
  --primary: #FE5C22;
  --primary-2: #d84e1d;
  --accent: #FE5C22;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;background:var(--bg);color:var(--text);}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 0;position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #eee}
.nav-simple{position:static;background:transparent}
.logo{display:flex;align-items:center;gap:10px;font-weight:700}
.logo img{width:28px;height:28px}
.nav-links a{margin-left:18px;color:var(--muted)}
.nav-links a:hover{color:var(--primary)}
.nav-links .lang a{margin-left:8px;padding:2px 6px;border-radius:6px;border:1px solid transparent}
.nav-links .lang a.active{border-color:rgba(0,0,0,.15);color:var(--primary)}

.hero-inner.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
}


.hero-inner.center .headline {
  font-size: 64px;
  margin-bottom: 20px;
}

.hero-inner.center .subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #fff;

  /* Mesh gradient (layer 1) */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(254,92,34,0.07), transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(100,100,255,0.07), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0,200,150,0.07), transparent 50%),

    /* Honeycomb grid (layer 2) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,0 60,15 60,37 30,52 0,37 0,15' fill='none' stroke='%23f0f0f0' stroke-width='1'/%3E%3C/svg%3E");

  background-size:
    auto,
    auto,
    auto,
    60px 52px; /* honeycomb scale */
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, center, center, center;
}


.headline{font-size:56px;line-height:1.05;margin:0 0 10px;color:var(--text)}
.subtitle{font-size:18px;color:var(--muted);margin:0 0 20px}
.gradient{background:linear-gradient(90deg,var(--primary),#ff814d);-webkit-background-clip:text;background-clip:text;color:transparent}
.cta{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0 10px}
.cta.centered {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta.centered .store-btn img {
  height: 55px;
  width: auto;
}
.store-btn {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  line-height: 0; /* removes unwanted spacing */
}
.store-btn img {
  height: 50px;   /* force same height for both badges */
  width: auto;
  display: block;
}
.store-btn:hover {
  transform: scale(1.05);
}

.phone-mock{position:relative;justify-self:end}
.phone-mock img{border-radius:24px;border:1px solid #ddd;box-shadow:0 30px 60px rgba(0,0,0,.2)}
.phone-mock .glow{display:none} /* not needed on light bg */

.about{padding:60px 0 50px}
.about h2,.features h2,.screens h2{font-size:28px;margin:0 0 16px;color:var(--text)}
.about p{color:var(--muted);max-width:820px}

.features{padding:20px 0 20px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px; padding: 20px 0 0 0 }

/* Service card */
.service-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}
.service-card .card-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FE5C22;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-right: 15px;
}
.service-card .card-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.service-card .card-content {
  flex: 1;
  color: #333;
  text-align: left;
}
.service-card .card-content h3 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 20px;
  color: #1B1B1B;
}
.service-card .card-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.screens{padding:30px 0 80px}
.carousel {
  position: relative;
  background: none;
  border: none;
  border-radius: 0;
  overflow: hidden;
  padding: 20px;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  text-align: center;
}

.car-track {
  position: relative;
  width: 100%;
  height: 600px;
}

.car-track img {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: transform 0.6s ease, opacity 0.6s ease;
  max-height: 550px; /* allow taller images */
  width: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.car-track img.left {
  opacity: 0.7;
  transform: translate(calc(-50% - 220px), -50%) scale(0.8);
  z-index: 1;
}
.car-track img.focus {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1); /* make center slide pop more */
  z-index: 2;
}
.car-track img.right {
  opacity: 0.7;
  transform: translate(calc(-50% + 220px), -50%) scale(0.8);
  z-index: 1;
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
}
.car-btn:hover {
  background: rgba(0,0,0,.6);
}
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
 

.footer{border-top:1px solid #eee;padding:20px 0 40px;background:#fff}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.footer .links a{color:var(--muted);margin-left:12px}
.footer .links a:hover{color:var(--primary)}

.contact,.policy{padding:40px 0 80px;background:#fff}
.form{max-width:560px}
.field{display:flex;flex-direction:column;margin-bottom:14px}
.field input,.field textarea{background:#fff;border:1px solid #ccc;color:#333;border-radius:10px;padding:12px}
.field input:focus,.field textarea:focus{outline:2px solid var(--primary)}
.btn{background:linear-gradient(135deg,var(--primary),var(--primary-2));border:none;color:#fff;padding:12px 16px;border-radius:10px;font-weight:600;cursor:pointer}
.alert{padding:12px 14px;border-radius:10px;margin:12px 0}
.alert.success{background:#e6fff1;color:#0b4125}
.alert.error{background:#ffe6e6;color:#4a1e16}

@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr;gap:20px;padding-top:50px}
  .phone-mock{justify-self:start}
  .car-track img{height:380px}
  .grid{grid-template-columns:1fr;}
}


.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  position: relative;
  display: inline-block;
  font-size: 32px;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FE5C22, transparent);
  opacity: 0;
  transform: scaleX(0.5);
  transition: all 0.6s ease;
}

h2:hover::after {
  opacity: 1;
  transform: scaleX(1);
}


.form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px; /* spacing between fields */
}

.form .field label {
  margin-bottom: 8px;  /* spacing between label and input */
  font-weight: 500;
  color: #333;
}

.form .field input,
.form .field textarea {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form .field input:focus,
.form .field textarea:focus {
  border-color: #FE5C22;
  box-shadow: 0 0 0 3px rgba(254,92,34,0.15);
  outline: none;
}

.nav {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* default desktop layout */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ---------- MOBILE FIX ---------- */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start; /* logo stays left */
    width: 100%;
  }

  .logo {
    margin-bottom: 12px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;   /* push links to the right */
    gap: 10px;
    width: 100%;             /* take full container width */
  }

  .nav-links a,
  .nav-links .lang {
    width: auto;             /* shrink to content, but align right */
    text-align: right;       /* text aligned to right */
  }

  .lang {
    margin-top: 8px;
  }
}