/* Разработка сайтов на заказ — лендинг */
.dev-page {
    --dev-primary: #4884ff;
    --dev-accent: #3acf6b;
    --dev-warm: #ff8a3d;
    --dev-bg: #0a0f1a;
    --dev-card: #131c29;
    --dev-border: #1f2a38;
    padding-bottom: 48px;
    overflow-x: hidden;
}

.dev-hero {
    position: relative;
    padding: 8px 0 48px;
    margin: 0 0 48px;
    isolation: isolate;
}
.dev-hero__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 55% at 85% 0%, rgba(72, 132, 255, 0.14), transparent 65%),
        radial-gradient(ellipse 55% 45% at 5% 100%, rgba(58, 207, 107, 0.1), transparent 60%);
}
.dev-hero__shell {
    position: relative;
    z-index: 1;
    padding: 28px 28px 36px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #121a27;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 16px 48px rgba(0, 0, 0, 0.35);
}

.dev-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.dev-bc {
    font-size: 0.8rem;
    opacity: 0.65;
    margin-bottom: 14px;
}
.dev-bc a { color: #8aa9ff; text-decoration: none; }
.dev-bc span { margin: 0 6px; }
.dev-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.dev-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff0a;
    border: 1px solid #ffffff18;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c8d6ea;
}
.dev-pill--accent {
    background: #4884ff22;
    border-color: #4884ff55;
    color: #93c5fd;
}
.dev-hero__checks {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.dev-hero__checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    opacity: 0.9;
}
.dev-hero__checks i {
    color: #3acf6b;
    font-size: 0.95rem;
}
.dev-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.dev-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #1a2533;
    border: 1px solid #2a3545;
    color: #b8c6db;
    white-space: nowrap;
}
.dev-hero__chips i {
    font-size: 0.8rem;
    color: #4884ff;
}
.dev-btn--lg {
    padding: 14px 24px;
    font-size: 0.95rem;
}
.dev-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.dev-gradient-text {
    background: linear-gradient(135deg, #93c5fd, #3acf6b, #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dev-hero__lead {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.88;
    max-width: 540px;
    margin: 0 0 24px;
}
.dev-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.dev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.dev-btn:hover { transform: translateY(-2px); }
.dev-btn--primary {
    background: linear-gradient(135deg, #4884ff, #3d6ed9);
    color: #fff;
    box-shadow: 0 8px 24px #4884ff44;
}
.dev-btn--ghost {
    background: transparent;
    border: 1px solid #ffffff30;
    color: #fff;
}
.dev-btn--outline {
    background: transparent;
    border: 1px solid #4884ff66;
    color: #93c5fd;
    width: 100%;
}
.dev-btn--block { width: 100%; margin-top: 4px; }

.dev-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.dev-stat-card {
    padding: 14px 12px;
    border-radius: 14px;
    background: #0a0f1a88;
    border: 1px solid #2a3545;
    text-align: center;
}
.dev-stat-card strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3acf6b;
    line-height: 1.1;
    margin-bottom: 4px;
}
.dev-stat-card span {
    font-size: 0.7rem;
    opacity: 0.65;
    line-height: 1.3;
}
.dev-hero__visual-caption {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.55;
    margin: 12px 0 0;
}
.dev-hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    text-decoration: none;
    color: #8aa9ff;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}
.dev-hero__scroll i {
    animation: devScrollBounce 2s ease-in-out infinite;
}
.dev-hero__scroll:hover {
    opacity: 1;
    transform: translateY(2px);
}
@keyframes devScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}
.dev-mockup-wrap {
    perspective: 900px;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

/* Mockup */
.dev-mockup {
    position: relative;
    background: linear-gradient(145deg, #1a2533, #0f1722);
    border: 1px solid #2a3545;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 24px 60px #00000055;
    animation: devMockupFloat 6s ease-in-out infinite;
}
@keyframes devMockupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.dev-mockup__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}
.dev-mockup__bar {
    display: flex;
    gap: 6px;
}
.dev-mockup__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f6d;
}
.dev-mockup__bar span:nth-child(2) { background: #ffb83d; }
.dev-mockup__bar span:nth-child(3) { background: #3acf6b; }
.dev-mockup__url {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    opacity: 0.5;
    padding: 4px 10px;
    border-radius: 8px;
    background: #0a0f1a66;
    border: 1px solid #2a354544;
}
.dev-mockup__body {
    display: flex;
    gap: 10px;
    min-height: 220px;
}
.dev-mockup__sidebar {
    width: 26%;
    border-radius: 10px;
    background: #4884ff14;
    border: 1px solid #4884ff22;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dev-mockup__nav-item {
    height: 10px;
    border-radius: 6px;
    background: #2a3545;
}
.dev-mockup__nav-item--active {
    background: linear-gradient(90deg, #4884ff, #3acf6b);
    height: 12px;
}
.dev-mockup__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dev-mockup__kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.dev-mockup__kpi {
    padding: 8px 10px;
    border-radius: 10px;
    background: #0a0f1a88;
    border: 1px solid #2a3545;
}
.dev-mockup__kpi small {
    display: block;
    font-size: 0.6rem;
    opacity: 0.55;
    margin-bottom: 2px;
}
.dev-mockup__kpi b {
    font-size: 0.78rem;
    color: #3acf6b;
}
.dev-mockup__chart {
    flex: 1;
    min-height: 88px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1a2533, #0f1722);
    border: 1px solid #2a3545;
}
.dev-mockup__chart span {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #4884ff, #3acf6b88);
    animation: devBarPulse 2.4s ease-in-out infinite;
}
.dev-mockup__chart span:nth-child(2) { animation-delay: 0.2s; }
.dev-mockup__chart span:nth-child(3) { animation-delay: 0.4s; }
.dev-mockup__chart span:nth-child(4) { animation-delay: 0.6s; }
.dev-mockup__chart span:nth-child(5) { animation-delay: 0.8s; }
.dev-mockup__chart span:nth-child(6) { animation-delay: 1s; }
@keyframes devBarPulse {
    0%, 100% { opacity: 0.75; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.06); }
}
.dev-mockup__rows { display: flex; flex-direction: column; gap: 6px; }
.dev-mockup__row {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #2a3545, #1f2a38);
}
.dev-mockup__row--short { width: 72%; }
@keyframes devPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
.dev-mockup__float {
    position: absolute;
    padding: 8px 12px;
    border-radius: 12px;
    background: #131c29ee;
    border: 1px solid #4884ff44;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px #00000044;
    animation: devFloatBadge 4s ease-in-out infinite;
}
.dev-mockup__float--1 { top: 14%; right: -10px; color: #3acf6b; animation-delay: 0s; }
.dev-mockup__float--2 { top: 42%; left: -14px; color: #60a5fa; animation-delay: -1.1s; }
.dev-mockup__float--3 { bottom: 28%; right: -6px; color: #fde68a; animation-delay: -2.2s; }
.dev-mockup__float--4 { bottom: 6%; left: 8%; color: #c4b5fd; animation-delay: -3.1s; }
@keyframes devFloatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Sections */
.dev-section {
    margin-bottom: 56px;
}
.dev-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}
.dev-section__head h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin: 0 0 10px;
    font-weight: 700;
}
.dev-section__head p {
    opacity: 0.75;
    line-height: 1.55;
    margin: 0;
}

.dev-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.dev-card {
    background: var(--dev-card);
    border: 1px solid var(--dev-border);
    border-radius: 18px;
    padding: 22px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.dev-card:hover {
    border-color: #4884ff55;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px #00000033;
}
.dev-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4884ff33, #3acf6b22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #93c5fd;
    margin-bottom: 14px;
}
.dev-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}
.dev-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
}

.dev-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.dev-feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--dev-card);
    border: 1px solid var(--dev-border);
    border-radius: 14px;
    transition: background 0.2s;
}
.dev-feat:hover { background: #1a2533; }
.dev-feat > i {
    font-size: 1.25rem;
    color: #3acf6b;
    margin-top: 2px;
}
.dev-feat strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.dev-feat span {
    font-size: 0.8rem;
    opacity: 0.75;
    line-height: 1.45;
}

.dev-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 720px;
    margin-inline: auto;
}
.dev-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--dev-card);
    border: 1px solid var(--dev-border);
    border-radius: 16px;
    border-left: 3px solid var(--dev-primary);
}
.dev-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4884ff, #3d6ed9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}
.dev-step h3 { margin: 0 0 6px; font-size: 1rem; }
.dev-step p { margin: 0; font-size: 0.85rem; opacity: 0.8; line-height: 1.5; }

.dev-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.dev-package {
    position: relative;
    background: var(--dev-card);
    border: 1px solid var(--dev-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.dev-package--featured {
    border-color: #4884ff66;
    box-shadow: 0 0 0 1px #4884ff33, 0 20px 50px #4884ff18;
    transform: scale(1.03);
}
.dev-package__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3acf6b, #22c55e);
    color: #06210f;
}
.dev-package h3 { margin: 0 0 8px; font-size: 1.1rem; }
.dev-package__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #93c5fd;
    margin: 0 0 16px;
}
.dev-package ul {
    margin: 0 0 20px;
    padding: 0 0 0 18px;
    flex: 1;
    font-size: 0.86rem;
    opacity: 0.85;
    line-height: 1.7;
}

.dev-faq-list { max-width: 720px; margin: 0 auto; }
.dev-faq-item {
    background: var(--dev-card);
    border: 1px solid var(--dev-border);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}
.dev-faq-item summary {
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    list-style: none;
}
.dev-faq-item summary::-webkit-details-marker { display: none; }
.dev-faq-item summary::after {
    content: '+';
    float: right;
    font-size: 1.2rem;
    opacity: 0.5;
}
.dev-faq-item[open] summary::after { content: '−'; }
.dev-faq-item p {
    padding: 0 18px 16px;
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.55;
}

.dev-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: start;
    background: linear-gradient(160deg, #131c29, #0f1722);
    border: 1px solid var(--dev-border);
    border-radius: 24px;
    padding: 32px;
}
.dev-contact__info h2 { margin: 0 0 12px; font-size: 1.5rem; }
.dev-contact__info > p {
    opacity: 0.8;
    line-height: 1.55;
    margin: 0 0 20px;
}
.dev-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dev-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.dev-contact-list a { color: #93c5fd; text-decoration: none; }
.dev-contact-list i { color: #3acf6b; width: 20px; text-align: center; }

.dev-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    opacity: 0.85;
}
.dev-form input,
.dev-form select,
.dev-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    background: #0a0f1a;
    border: 1px solid #2a3545;
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
}
.dev-form textarea { resize: vertical; min-height: 120px; }
.dev-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.dev-cta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 18px;
    background: linear-gradient(90deg, #4884ff22, #3acf6b18);
    border: 1px solid #4884ff33;
}
.dev-cta-bar p { margin: 0; font-weight: 500; }

/* Scroll reveal */
.dev-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--d, 0s);
}
.dev-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .dev-hero__grid,
    .dev-contact__grid { grid-template-columns: 1fr; }
    .dev-cards,
    .dev-packages-grid { grid-template-columns: 1fr; }
    .dev-package--featured { transform: none; }
    .dev-feature-grid { grid-template-columns: 1fr; }
    .dev-hero__visual { order: -1; max-width: 440px; margin: 0 auto; }
    .dev-hero__shell { padding: 20px 18px 28px; }
    .dev-hero__actions { flex-direction: column; }
    .dev-hero__actions .dev-btn { width: 100%; }
}
@media (max-width: 600px) {
    .dev-form-row { grid-template-columns: 1fr; }
    .dev-contact__grid { padding: 20px; }
    .dev-hero { margin-bottom: 32px; padding-top: 0; }
    .dev-hero__shell { padding: 16px 14px 22px; border-radius: 20px; }
    .dev-hero h1 { font-size: 1.65rem; }
    .dev-hero__lead { font-size: 0.92rem; }
    .dev-hero__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .dev-hero__chips::-webkit-scrollbar { display: none; }
    .dev-hero__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .dev-stat-card { padding: 10px 6px; }
    .dev-stat-card strong { font-size: 1.2rem; }
    .dev-mockup__float { font-size: 0.65rem; padding: 6px 8px; }
    .dev-mockup__float--2 { left: -4px; }
    .dev-mockup__float--1 { right: -4px; }
    .dev-hero__scroll { display: none; }
}
