/* ===== Service detail pages (Angular/React/Shopify/WordPress) ===== */

/* Tech-color tokens applied per body */
.srvdt-angular   { --tech: #ff5b6c; --tech-soft: rgba(255,91,108,0.12); --tech-glow: rgba(255,91,108,0.3); --tech-strong: #c2354b; }
.srvdt-react     { --tech: #61dafb; --tech-soft: rgba(97,218,251,0.12); --tech-glow: rgba(97,218,251,0.3); --tech-strong: #2da8d6; }
.srvdt-shopify   { --tech: #a4d65e; --tech-soft: rgba(164,214,94,0.14); --tech-glow: rgba(164,214,94,0.35); --tech-strong: #6fa641; }
.srvdt-wordpress { --tech: #4ab3ff; --tech-soft: rgba(74,179,255,0.14); --tech-glow: rgba(74,179,255,0.35); --tech-strong: #2078ad; }

/* ===== 1. Hero ===== */
.sd-hero {
   padding: 100px 0 80px;
   position: relative;
   overflow: hidden;
   background: #0a0a0a;
}
@media (max-width: 767px) { .sd-hero { padding: 60px 0 50px; } }
.sd-hero::before {
   content: "";
   position: absolute;
   top: -30%;
   right: -10%;
   width: 600px;
   height: 600px;
   background: var(--tech);
   border-radius: 50%;
   filter: blur(140px);
   opacity: 0.18;
   pointer-events: none;
}

.sd-hero__grid {
   display: grid;
   grid-template-columns: 1.3fr 1fr;
   gap: 60px;
   align-items: center;
   position: relative;
   z-index: 1;
}
@media (max-width: 991px) { .sd-hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.sd-hero__sub {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-size: 12px;
   letter-spacing: 3px;
   text-transform: uppercase;
   color: var(--tech);
   font-weight: 600;
   margin-bottom: 18px;
}
.sd-hero__sub::before {
   content: "";
   width: 22px;
   height: 1px;
   background: var(--tech);
}
.sd-hero__title {
   font-size: clamp(40px, 6.5vw, 84px);
   line-height: 0.95;
   font-weight: 700;
   margin: 0 0 22px;
   letter-spacing: -2.5px;
}
.sd-hero__title em {
   color: var(--tech);
   font-style: italic;
   font-weight: 400;
}
.sd-hero__tagline {
   font-size: 17px;
   line-height: 1.7;
   color: #b0b0b0;
   max-width: 520px;
   margin: 0 0 32px;
}
.sd-hero__pills {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 30px;
}
.sd-hero__pill {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   font-size: 13px;
   font-weight: 500;
   color: #d8d8d8;
   background: rgba(255,255,255,0.04);
   border: 1px solid rgba(255,255,255,0.08);
   border-radius: 999px;
}
.sd-hero__pill i { color: var(--tech); font-size: 10px; }

.sd-hero__nav {
   display: flex;
   gap: 12px;
   padding-top: 26px;
   border-top: 1px solid rgba(255,255,255,0.07);
}
.sd-hero__nav-link {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 18px;
   font-size: 13px;
   font-weight: 500;
   color: #cfcfcf;
   background: rgba(255,255,255,0.03);
   border: 1px solid rgba(255,255,255,0.08);
   border-radius: 999px;
   text-decoration: none;
   transition: all 0.2s ease;
}
.sd-hero__nav-link:hover {
   color: #fff;
   border-color: var(--tech-glow);
   background: var(--tech-soft);
}

/* Right side: big tech logo */
.sd-hero__visual {
   position: relative;
   aspect-ratio: 1 / 1;
   max-width: 440px;
   margin-left: auto;
   display: grid;
   place-items: center;
}
@media (max-width: 991px) { .sd-hero__visual { margin: 0 auto; max-width: 320px; } }
.sd-hero__visual::before {
   content: "";
   position: absolute;
   inset: 12%;
   border-radius: 50%;
   background: radial-gradient(circle, var(--tech-soft) 0%, transparent 70%);
}
.sd-hero__visual::after {
   content: "";
   position: absolute;
   inset: 5%;
   border-radius: 50%;
   border: 1px dashed rgba(255,255,255,0.08);
   animation: sd-rotate 32s linear infinite;
}
@keyframes sd-rotate { to { transform: rotate(360deg); } }
.sd-hero__icon {
   position: relative;
   z-index: 1;
   font-size: clamp(150px, 22vw, 240px);
   color: var(--tech);
   filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* ===== 2. Why this stack? — Article ===== */
.sd-why {
   padding: 100px 0;
   background: #080808;
}
@media (max-width: 767px) { .sd-why { padding: 60px 0; } }
.sd-why__inner {
   max-width: 820px;
   margin: 0 auto;
   padding: 0 20px;
}
.sd-why__eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-size: 12px;
   letter-spacing: 2.5px;
   text-transform: uppercase;
   color: var(--tech);
   font-weight: 600;
   margin-bottom: 18px;
}
.sd-why__eyebrow::before {
   content: "";
   width: 22px;
   height: 1px;
   background: var(--tech);
}
.sd-why__title {
   font-size: clamp(28px, 4vw, 46px);
   line-height: 1.1;
   font-weight: 700;
   margin: 0 0 36px;
   letter-spacing: -0.8px;
}
.sd-why__lead {
   font-size: clamp(19px, 2.2vw, 24px);
   line-height: 1.5;
   color: #ededed;
   margin: 0 0 26px;
}
.sd-why__lead::first-letter {
   font-size: 1.8em;
   font-weight: 700;
   float: left;
   line-height: 1;
   margin-right: 8px;
   margin-top: 4px;
   color: var(--tech);
   font-family: Georgia, serif;
}
.sd-why__body p {
   font-size: 16.5px;
   line-height: 1.8;
   color: #b8b8b8;
   margin: 0 0 22px;
}

/* ===== 3. What I deliver — Feature cards ===== */
.sd-deliver {
   padding: 100px 0;
   background: #0c0c0c;
   border-top: 1px solid rgba(255,255,255,0.04);
   border-bottom: 1px solid rgba(255,255,255,0.04);
}
@media (max-width: 767px) { .sd-deliver { padding: 60px 0; } }
.sd-deliver__header {
   text-align: center;
   max-width: 700px;
   margin: 0 auto 60px;
}
.sd-deliver__sub {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-size: 12px;
   letter-spacing: 2.5px;
   text-transform: uppercase;
   color: var(--tech);
   font-weight: 600;
   margin-bottom: 16px;
}
.sd-deliver__sub::before, .sd-deliver__sub::after {
   content: "";
   width: 22px;
   height: 1px;
   background: var(--tech);
}
.sd-deliver__title {
   font-size: clamp(28px, 4vw, 44px);
   line-height: 1.1;
   font-weight: 700;
   margin: 0;
   letter-spacing: -0.6px;
}

.sd-deliver__grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 18px;
}
@media (max-width: 991px) { .sd-deliver__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .sd-deliver__grid { grid-template-columns: 1fr; } }

.sd-feature {
   padding: 30px 26px;
   background: linear-gradient(160deg, #141414 0%, #0c0c0c 100%);
   border: 1px solid rgba(255,255,255,0.06);
   border-radius: 16px;
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}
.sd-feature::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: var(--tech);
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.4s ease;
}
.sd-feature:hover {
   transform: translateY(-5px);
   border-color: var(--tech-glow);
}
.sd-feature:hover::before { transform: scaleX(1); }
.sd-feature__icon {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
   border-radius: 12px;
   font-size: 20px;
   color: var(--tech);
   background: var(--tech-soft);
   border: 1px solid var(--tech-glow);
   margin-bottom: 18px;
}
.sd-feature__title {
   font-size: 17px;
   font-weight: 600;
   color: #fff;
   margin: 0 0 8px;
   letter-spacing: -0.2px;
}
.sd-feature__desc {
   font-size: 14px;
   line-height: 1.6;
   color: #999;
   margin: 0;
}

/* ===== 4. Stack ecosystem — Tag wall ===== */
.sd-stack {
   padding: 90px 0;
   background: #080808;
}
@media (max-width: 767px) { .sd-stack { padding: 60px 0; } }
.sd-stack__header {
   text-align: center;
   max-width: 700px;
   margin: 0 auto 50px;
}
.sd-stack__sub {
   font-size: 12px;
   letter-spacing: 2.5px;
   text-transform: uppercase;
   color: var(--tech);
   font-weight: 600;
   margin-bottom: 14px;
   display: inline-block;
}
.sd-stack__title {
   font-size: clamp(24px, 3.5vw, 38px);
   line-height: 1.15;
   font-weight: 700;
   margin: 0;
   letter-spacing: -0.4px;
}
.sd-stack__cloud {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 10px 12px;
   max-width: 900px;
   margin: 0 auto;
}
.sd-stack__tag {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 11px 18px;
   font-size: 14px;
   font-weight: 500;
   color: #ddd;
   background: rgba(255,255,255,0.03);
   border: 1px solid rgba(255,255,255,0.08);
   border-radius: 999px;
   transition: all 0.25s ease;
}
.sd-stack__tag:hover {
   color: #fff;
   background: var(--tech-soft);
   border-color: var(--tech-glow);
   transform: translateY(-3px);
}
.sd-stack__tag i { color: var(--tech); font-size: 12px; }
.sd-stack__tag--lg {
   font-size: 17px;
   padding: 13px 22px;
   font-weight: 600;
}

/* ===== 5. Workflow — Horizontal flow ===== */
.sd-flow {
   padding: 100px 0;
   background:
      radial-gradient(ellipse at center top, var(--tech-soft) 0%, transparent 50%),
      #0c0c0c;
   border-top: 1px solid rgba(255,255,255,0.04);
}
@media (max-width: 767px) { .sd-flow { padding: 60px 0; } }
.sd-flow__header {
   text-align: center;
   max-width: 700px;
   margin: 0 auto 60px;
}
.sd-flow__sub {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-size: 12px;
   letter-spacing: 2.5px;
   text-transform: uppercase;
   color: var(--tech);
   font-weight: 600;
   margin-bottom: 16px;
}
.sd-flow__sub::before, .sd-flow__sub::after {
   content: "";
   width: 22px;
   height: 1px;
   background: var(--tech);
}
.sd-flow__title {
   font-size: clamp(28px, 4vw, 44px);
   line-height: 1.1;
   font-weight: 700;
   margin: 0;
   letter-spacing: -0.6px;
}

.sd-flow__list {
   position: relative;
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   gap: 18px;
}
@media (max-width: 1199px) { .sd-flow__list { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
@media (max-width: 767px)  { .sd-flow__list { grid-template-columns: 1fr; } }
.sd-flow__list::before {
   content: "";
   position: absolute;
   top: 26px;
   left: 8%;
   right: 8%;
   height: 2px;
   background: linear-gradient(to right, transparent, var(--tech-glow) 8%, var(--tech-glow) 92%, transparent);
}
@media (max-width: 1199px) { .sd-flow__list::before { display: none; } }

.sd-flow__step {
   text-align: center;
   position: relative;
   z-index: 1;
}
.sd-flow__num {
   width: 54px;
   height: 54px;
   margin: 0 auto 20px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 16px;
   font-weight: 700;
   color: #fff;
   background: #0c0c0c;
   border: 2px solid var(--tech);
   box-shadow: 0 0 0 6px var(--tech-soft);
   transition: all 0.3s ease;
}
.sd-flow__step:hover .sd-flow__num {
   transform: scale(1.08);
   box-shadow: 0 0 0 10px var(--tech-soft);
}
.sd-flow__step-title {
   font-size: 15px;
   font-weight: 600;
   color: #fff;
   margin: 0 0 8px;
}
.sd-flow__step-desc {
   font-size: 13px;
   color: #999;
   line-height: 1.55;
   margin: 0;
   max-width: 220px;
   margin-left: auto;
   margin-right: auto;
}
