/* ─── App Development Page ──────────────────────────────────── */

.ad-page { background: #040d14; }

.ad-accent { color: #22d3a5; }

.ad-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 6%;
}

/* ── Hero ──────────────────────────────────────────────────── */
.ad-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ad-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(34,211,165,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 20% 70%, rgba(118,28,130,0.15) 0%, transparent 60%),
        linear-gradient(135deg, #04080d 0%, #051520 50%, #040e18 100%);
    z-index: 0;
}

.ad-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1px at 15% 25%, rgba(34,211,165,0.5) 0%, transparent 0%),
        radial-gradient(circle 1px at 75% 15%, rgba(118,28,130,0.6) 0%, transparent 0%),
        radial-gradient(circle 1px at 45% 65%, rgba(34,211,165,0.4) 0%, transparent 0%),
        radial-gradient(circle 1px at 85% 55%, rgba(41,180,255,0.5) 0%, transparent 0%),
        radial-gradient(circle 1px at 30% 80%, rgba(26,110,245,0.4) 0%, transparent 0%);
    background-size: 400px 400px;
    opacity: 0.8;
}

.ad-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 6% 100px;
}

/* Platform badges */
.ad-platforms {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ad-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.ad-platform-android {
    background: rgba(61,220,151,0.12);
    border: 1px solid rgba(61,220,151,0.35);
    color: #3ddc97;
}

.ad-platform-ios {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}

.ad-platform-flutter {
    background: rgba(84,197,249,0.1);
    border: 1px solid rgba(84,197,249,0.3);
    color: #54c5f9;
}

.ad-hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 18px 0 24px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.ad-hero-sub {
    color: rgba(255,255,255,0.68);
    font-size: 1.1rem;
    line-height: 1.85;
    max-width: 580px;
    margin-bottom: 40px;
}

.ad-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.ad-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: #761c82;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 22px rgba(118,28,130,0.5);
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.ad-btn-primary:hover {
    background: #9b24af;
    box-shadow: 0 6px 30px rgba(118,28,130,0.65);
    transform: translateY(-2px);
}

.ad-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border: 1.5px solid rgba(34,211,165,0.5);
    color: #22d3a5;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.22s, border-color 0.22s, transform 0.18s;
}

.ad-btn-ghost:hover {
    background: rgba(34,211,165,0.1);
    border-color: #22d3a5;
    transform: translateY(-2px);
}

.ad-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ad-stat { display: flex; flex-direction: column; gap: 4px; }

.ad-stat-num {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.ad-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ── Categories ─────────────────────────────────────────────── */
.ad-categories {
    background: linear-gradient(180deg, #040d14 0%, #061520 100%);
}

.ad-light-title { color: #fff !important; }

.ad-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ad-cat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 28px;
    transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: default;
}

.ad-cat-card:hover {
    background: rgba(34,211,165,0.07);
    border-color: rgba(34,211,165,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(34,211,165,0.08);
}

.ad-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(34,211,165,0.12);
    border: 1px solid rgba(34,211,165,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #22d3a5;
    margin-bottom: 18px;
}

.ad-cat-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ad-cat-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.ad-cat-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ad-cat-tags li {
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(118,28,130,0.2);
    border: 1px solid rgba(118,28,130,0.35);
    color: #c45fd4;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ── Process ────────────────────────────────────────────────── */
.ad-process { background: #fff; }

.ad-process .section-title { color: #1a0a2e; }

.ad-process-steps {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.ad-step {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    border-radius: 14px;
    background: #f2fbf8;
    border: 1px solid #c8ede5;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ad-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(34,211,165,0.12);
}

.ad-step-num {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #22d3a5, #1a6ef5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.ad-step h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a0a2e;
    margin-bottom: 8px;
}

.ad-step p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.65;
}

.ad-step-arrow {
    color: #22d3a5;
    font-size: 1rem;
    padding-top: 42px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ── Hire ───────────────────────────────────────────────────── */
.ad-hire {
    background: linear-gradient(180deg, #061520 0%, #040d14 100%);
}

.ad-hire-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}

.ad-hire-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.ad-hire-card:hover {
    border-color: rgba(118,28,130,0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(118,28,130,0.12);
}

.ad-hire-featured {
    border-color: rgba(34,211,165,0.4) !important;
    background: rgba(34,211,165,0.05) !important;
}

.ad-hire-featured:hover {
    box-shadow: 0 12px 40px rgba(34,211,165,0.14) !important;
}

.ad-hire-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #22d3a5, #761c82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.ad-hire-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ad-hire-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(118,28,130,0.2);
    border: 1px solid rgba(118,28,130,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #c45fd4;
    flex-shrink: 0;
}

.ad-hire-featured .ad-hire-avatar {
    background: rgba(34,211,165,0.12);
    border-color: rgba(34,211,165,0.35);
    color: #22d3a5;
}

.ad-hire-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.ad-hire-level {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

.ad-hire-skills {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.ad-hire-skills li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.75);
}

.ad-hire-skills li i {
    color: #22d3a5;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.ad-hire-btn {
    display: block;
    text-align: center;
    padding: 11px 0;
    background: #761c82;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(118,28,130,0.4);
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.ad-hire-btn:hover {
    background: #9b24af;
    box-shadow: 0 6px 22px rgba(118,28,130,0.55);
    transform: translateY(-1px);
}

.ad-hire-featured .ad-hire-btn {
    background: linear-gradient(135deg, #22d3a5, #761c82);
    box-shadow: 0 4px 18px rgba(34,211,165,0.25);
}

.ad-hire-featured .ad-hire-btn:hover {
    opacity: 0.9;
    box-shadow: 0 6px 26px rgba(34,211,165,0.38);
}

/* Engagement Models */
.ad-models { text-align: center; }

.ad-models-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}

.ad-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ad-model {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 32px 24px;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.ad-model:hover {
    background: rgba(34,211,165,0.06);
    border-color: rgba(34,211,165,0.3);
    transform: translateY(-3px);
}

.ad-model > i {
    font-size: 1.6rem;
    color: #22d3a5;
    margin-bottom: 14px;
    display: block;
}

.ad-model h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ad-model p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ── Tech Stack ─────────────────────────────────────────────── */
.ad-tech { background: #fff; }
.ad-tech .section-title { color: #1a0a2e; }

.ad-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ad-tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #f0faf7;
    border: 1.5px solid #c0e8dc;
    color: #1a0a2e;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.ad-tech-pill:hover {
    background: #d8f5ec;
    border-color: #22d3a5;
    transform: translateY(-2px);
}

.ad-tech-pill i,
.ad-tech-pill img {
    color: #0d9b6e;
    fill: #0d9b6e;
    font-size: 1rem;
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.ad-cta {
    background: linear-gradient(135deg, #030a10 0%, #061525 50%, #041a14 100%);
    padding: 100px 6%;
    text-align: center;
}

.ad-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ad-cta-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.ad-cta-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ad-hire-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .ad-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .ad-models-grid { grid-template-columns: 1fr; }
    .ad-hero-title { font-size: 3.2rem; }
    .ad-cta-title { font-size: 2.2rem; }
}

@media (max-width: 640px) {
    .ad-categories-grid { grid-template-columns: 1fr; }
    .ad-hire-grid { grid-template-columns: 1fr; }
    .ad-process-steps { flex-direction: column; align-items: center; }
    .ad-step-arrow { transform: rotate(90deg); padding: 0; }
    .ad-hero-title { font-size: 2.5rem; }
    .ad-hero-stats { gap: 20px; }
    .ad-stat-div { display: none; }
}

@media (max-width: 768px) {
    .ad-hero-inner { padding: 110px 5% 72px; }
    .ad-hero-title { font-size: 2.8rem; }
    .ad-hero-sub { font-size: 1rem; }
    .ad-cta { padding: 72px 5%; }
    .ad-cta-title { font-size: 2rem; }
    .ad-section-inner { padding: 72px 5%; }
}

@media (max-width: 480px) {
    .ad-hero-inner { padding: 96px 5% 56px; }
    .ad-hero-title { font-size: 2rem; }
    .ad-btn-primary, .ad-btn-ghost { padding: 12px 20px; font-size: 0.88rem; }
    .ad-cta-title { font-size: 1.7rem; }
}
