:root{
  --brand: #179d99;
  --dark: #0e1c1b;
  --muted: rgba(255,255,255,0.08);
  --card-bg: #ffffff; /* کارت های کاملا سفید */
  --text: #eef8f7;
}

/* reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Vazir, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* NAV */
.site-nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1400;
  display:flex;
  justify-content:center;
  gap:22px;
  padding:12px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
  backdrop-filter: blur(6px);
}
.site-nav a{
  color:#fff; text-decoration:none; font-weight:600; transition: color .18s;
}
.site-nav a:hover{ color: var(--brand) }

/* HEADER with notch */
.site-header{
  position:relative;
  padding-top:120px;
  padding-bottom:180px;
  text-align:center;
  background: linear-gradient(160deg, var(--brand), #0c2b2a);
  overflow:visible;
}

/* notch + logo (centered) */
.header-notch{
  position:absolute;
  top:-40px; left:50%;
  transform:translateX(-50%);
  width:340px;
  height:140px;
  pointer-events:none;
  z-index:1600;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.notch-shape{
  width:100%;
  height:80px;
  background:var(--dark);
  border-bottom-left-radius:50px;
  border-bottom-right-radius:50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transform: translateY(34px);
}
.logo-holder{ position:absolute; bottom:6px; z-index:1700; width:150px; height:90px; display:flex; justify-content:center; align-items:center;}
.logo{ width:120px; display:block; }

/* header text */
.header-inner h1{ font-size:2.4rem; margin:16px 0 6px; color:#fff;}
.header-inner .lead{ color: rgba(235,255,254,0.9); font-size:1.05rem; margin:0 0 6px; }

/* waves container (top) */
.waves{ position:absolute; left:0; right:0; bottom:0; height:220px; overflow:visible; pointer-events:none; z-index:1200;}
.waves svg{ position:absolute; left:0; width:200%; height:220px; transform: translateX(0) translateY(0); }

/* ABOUT section */
.about{ padding:60px 20px; max-width:980px; margin:0 auto; text-align:center;}
.about h2{ color:var(--brand); margin-bottom:12px; font-size:1.6rem; }
.about p{ color: rgba(230,252,251,0.9); line-height:1.8; }

/* small promo */
.promo-small{ text-align:center; margin:12px 0;}
.promo-link{ color:var(--brand); background:transparent; border:1px solid rgba(255,255,255,0.06); padding:8px 14px; border-radius:999px; text-decoration:none; font-weight:700; }

/* SERVICES: notch style title & fold */
.services-section{ position:relative; margin-top:-80px; padding-top:40px; padding-bottom:40px; z-index:100;}
.services-header{ display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom:10px;}
.services-title{ background: var(--dark); padding:16px 24px; border-radius:16px; box-shadow:0 10px 28px rgba(0,0,0,0.6); z-index:30;}
.services-title h2{ margin:0; color:var(--brand); font-size:1.45rem; }
.services-fold{ width:100%; height:48px; margin-top:-6px; /* we'll simulate fold with svg background */ }

/* grid */
.services-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
  padding: 18px 12px;
}

/* service card (white background) */
.service-card{
  background: var(--card-bg);
  color:#0b0b0b;
  border-radius:12px;
  padding:18px;
  text-align:center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  transition: transform .26s, box-shadow .26s;
}
.service-card:hover{ transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.service-img{ width:72px; height:72px; object-fit:contain; margin-bottom:12px; display:block; margin-left:auto; margin-right:auto; }

/* middle waves (between services and contact) */
.middle-waves{ position:relative; height:140px; overflow:visible; pointer-events:none; }
.middle-waves svg{ position:absolute; left:0; width:200%; height:140px; }

/* CONTACT */
.contact-section{ padding:36px 20px 80px; max-width:1100px; margin:0 auto; }
.contact-inner{ display:flex; gap:24px; align-items:stretch; justify-content:space-between; flex-wrap:wrap; }
.contact-left{ flex:1; min-width:280px; }
.contact-map{ flex:1; min-width:300px; height:300px; border-radius:12px; overflow:hidden; box-shadow: 0 14px 40px rgba(0,0,0,0.6); }

/* social icons */
.social-row{ display:flex; gap:12px; margin-top:12px; align-items:center; }
.social-icon{ width:36px; height:36px; object-fit:contain; display:block; }

/* BOT final section */
.bot-section{ padding:40px 20px; max-width:900px; margin:30px auto; }
.bot-inner{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding:28px; border-radius:12px; text-align:center; box-shadow:0 12px 36px rgba(0,0,0,0.55);}
.btn-telegram{ display:inline-block; background: linear-gradient(90deg, var(--brand), #12cbbf); color:#051111; padding:12px 26px; border-radius:999px; font-weight:800; text-decoration:none; margin-top:12px; }

/* FOOTER */
.site-footer{ position:relative; padding:60px 20px 120px; margin-top:30px; background: linear-gradient(180deg, #071515, var(--dark)); color:#eaf8f7; text-align:center; overflow:visible;}
.site-footer .footer-top{ z-index:20; position:relative; }

/* footer waves */
.waves-footer{ position:absolute; left:0; right:0; top:-110px; height:220px; pointer-events:none; }
.waves-footer svg{ position:absolute; left:0; width:200%; height:220px; transform: translateX(0); }

/* responsive tweaks */
@media (max-width:900px){
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .header-notch{ width:260px; }
  .logo{ width:96px; }
}
@media (max-width:520px){
  .services-grid{ grid-template-columns: 1fr; }
  .header-notch{ width:180px; }
  .logo{ width:80px; }
  .site-nav{ gap:12px; padding:8px 10px; }
}
