:root {
    --bg: #061126;
    --bg-2: #0a1730;
    --panel: rgba(12, 28, 56, 0.82);
    --panel-strong: #0d1f3d;
    --text: #eef6ff;
    --muted: #a9b8cf;
    --line: rgba(139, 166, 210, 0.22);
    --cyan: #18d8ff;
    --blue: #2675ff;
    --violet: #7b4dff;
    --green: #36e1bd;
    --amber: #ffae32;
    --danger: #ff5f7d;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

:root[data-theme="light"] {
    --bg: #f5f8ff;
    --bg-2: #ffffff;
    --panel: rgba(255, 255, 255, 0.9);
    --panel-strong: #ffffff;
    --text: #0a1730;
    --muted: #53647d;
    --line: rgba(44, 74, 118, 0.18);
    --shadow: 0 24px 70px rgba(32, 66, 118, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(38, 117, 255, 0.3), transparent 30rem),
        radial-gradient(circle at 78% 16%, rgba(24, 216, 255, 0.18), transparent 32rem),
        linear-gradient(180deg, #040b1d 0%, var(--bg) 44%, #07101f 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

:root[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 8%, rgba(38, 117, 255, 0.16), transparent 30rem),
        radial-gradient(circle at 78% 16%, rgba(24, 216, 255, 0.16), transparent 32rem),
        linear-gradient(180deg, #f7fbff 0%, #eef4ff 44%, #ffffff 100%);
}

img {
    max-width: 100%;
    display: block;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('../images/idrikta-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(46vmin, 460px);
    opacity: 0.05;
    pointer-events: none;
}

:root[data-theme="light"] body::before {
    opacity: 0.08;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 12, 28, 0.82);
    backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.82);
}

.nav {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
    flex-shrink: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand span {
    font-size: 1.35rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    list-style: none;
    color: var(--muted);
    font-size: 0.86rem;
}

.nav-links a {
    transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #031126;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-weight: 750;
    box-shadow: 0 16px 44px rgba(24, 216, 255, 0.18);
    cursor: pointer;
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line);
    box-shadow: none;
}

.button.small {
    min-height: 40px;
    padding: 0 15px;
    font-size: 0.92rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-weight: 850;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 84px 0;
    animation: sectionIn 520ms ease both;
}

@keyframes sectionIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: calc(100vh - 76px);
    padding: 56px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
    align-items: center;
    gap: 42px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(24, 216, 255, 0.35);
    border-radius: 999px;
    background: rgba(24, 216, 255, 0.08);
    color: #c9fbff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin-top: 20px;
    font-size: clamp(1.45rem, 2.35vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: 0;
    max-width: 820px;
}

.gradient-text {
    color: var(--cyan);
}

.hero p,
.page-hero p,
.section-lead {
    max-width: 690px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    max-width: 650px;
}

.metric {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.045);
}

.metric strong {
    display: block;
    color: var(--text);
    font-size: 1.45rem;
    line-height: 1.1;
}

.metric span {
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-visual {
    border: 1px solid rgba(24, 216, 255, 0.22);
    border-radius: 8px;
    overflow: hidden;
    background: #07142d;
    box-shadow: var(--shadow);
    transition: transform 220ms ease, border-color 220ms ease;
}

.hero-visual:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 216, 255, 0.46);
}

.hero-visual img {
    width: 100%;
    height: auto;
}

.section-kicker {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading {
    margin-top: 10px;
    max-width: 960px;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.step-card,
.feature-card,
.contact-card,
.price-card,
.simple-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(13, 31, 61, 0.88), rgba(7, 17, 35, 0.88));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.step-card:hover,
.feature-card:hover,
.contact-card:hover,
.price-card:hover,
.simple-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 216, 255, 0.48);
    box-shadow: 0 24px 70px rgba(24, 216, 255, 0.1);
}

.step-card {
    min-height: 430px;
    padding: 20px 20px 70px;
    position: relative;
    display:flex;
    flex-direction:column;
}

.step-card ul{
    flex:1;
    margin-bottom:18px;
}

.step-card h3{
    min-height:72px;
    line-height:1.35;
}

.step-label{
    position:absolute;
    left:20px;
    right:20px;
    bottom:18px;
}

.step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(24, 216, 255, 0.16);
    color: #d8fdff;
    font-weight: 850;
}

.step-card h3 {
    margin-top: 22px;
    font-size: 1.1rem;
}

.step-card ul,
.feature-card ul,
.simple-card ul,
.price-card ul {
    list-style: none;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.94rem;
}

.step-card li,
.feature-card li,
.simple-card li,
.price-card li {
    padding: 5px 0;
}

.step-card li::before,
.feature-card li::before,
.simple-card li::before,
.price-card li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--cyan);
    vertical-align: 1px;
}

.step-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 800;
}

.step-card:nth-child(1) .step-number,
.step-card:nth-child(5) .step-number {
    background: rgba(123, 77, 255, 0.2);
}

.step-card:nth-child(4) .step-number,
.step-card:nth-child(4) li::before {
    background: var(--amber);
}

.three-up,
.two-up,
.feature-grid,
.pricing-grid,
.contact-grid {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.simple-card,
.price-card,
.contact-card {
    padding: 24px;
}

.service-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.service-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.blog-meta {
    margin-top: 12px;
    color: var(--green);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(24, 216, 255, 0.24);
    border-radius: 8px;
    background: rgba(24, 216, 255, 0.1);
    color: var(--cyan);
    font-weight: 900;
}

.feature-card h3,
.simple-card h3,
.price-card h3,
.contact-card h3 {
    margin-top: 18px;
    font-size: 1.2rem;
}

.feature-card p,
.simple-card p,
.price-card p,
.contact-card p {
    margin-top: 10px;
    color: var(--muted);
}

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.logo-pill {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #dce8ff;
    font-weight: 700;
    font-size: 0.94rem;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0 36px;
}

.panel {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 30px;
}

.price {
    margin-top: 18px;
    font-size: 2.1rem;
    font-weight: 850;
}

.price span {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.featured {
    border-color: rgba(24, 216, 255, 0.55);
    box-shadow: 0 22px 70px rgba(24, 216, 255, 0.12);
}

.form {
    display: grid;
    gap: 14px;
}

.form label {
    display: grid;
    gap: 7px;
    color: #dfeaff;
    font-weight: 700;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 11, 29, 0.72);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 36px 0;
    color: var(--muted);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero,
    .two-up,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .workflow,
    .feature-grid,
    .pricing-grid,
    .three-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }
}

@media (max-width: 680px) {
    .nav-links {
        width: 100%;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 4px;
    }

    .nav .button {
        display: none;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding-top: 34px;
        min-height: auto;
    }

    .hero-metrics,
    .workflow,
    .feature-grid,
    .pricing-grid,
    .three-up {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 1.55rem;
    }

    .section {
        padding: 58px 0;
    }
}
