:root {
    --bg: #0b1020;
    --bg-soft: #11182d;
    --surface: #ffffff;
    --surface-2: #f5f7fb;
    --text: #1d2433;
    --text-light: #6b7280;
    --border: rgba(15, 23, 42, 0.08);
    --primary: #4f7cff;
    --primary-dark: #315fe6;
    --accent: #14c38e;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(11, 16, 32, 0.08);
    --radius: 22px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.85;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--bg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary,
.header-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 16px 40px rgba(79, 124, 255, 0.28);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.hero-section {
    background:
        radial-gradient(circle at top left, rgba(79,124,255,0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(20,195,142,0.16), transparent 30%),
        linear-gradient(180deg, #07101f 0%, #0d1730 100%);
    color: #fff;
    padding: 90px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(79, 124, 255, 0.14);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 660px;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.stat-box strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}

.stat-box span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.hero-card {
    display: flex;
    justify-content: center;
}

.mockup-window {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.mockup-top {
    height: 14px;
    width: 120px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    margin-bottom: 18px;
}

.mockup-body {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
}

.mockup-sidebar,
.line,
.cards span {
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
}

.mockup-sidebar {
    min-height: 300px;
}

.line {
    height: 18px;
    margin-bottom: 14px;
}

.line.lg {
    height: 140px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.cards span {
    min-height: 90px;
}

.section-block {
    padding: 88px 0;
}

.section-dark {
    background: var(--bg);
    color: #fff;
}

.section-accent {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
    margin: 0 0 12px;
}

.section-heading p {
    color: var(--text-light);
    margin: 0;
}

.section-heading.light p,
.section-dark .section-badge,
.section-dark .industry-card {
    color: rgba(255,255,255,0.82);
}

.card-grid {
    display: grid;
    gap: 24px;
}

.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.info-card,
.industry-card,
.process-item,
.portfolio-card,
.faq-item,
.post-card,
.default-page,
.single-post {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card {
    padding: 28px;
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
}

.info-card p {
    margin: 0;
    color: var(--text-light);
}

.industry-card {
    padding: 22px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
    text-align: center;
    font-weight: 700;
}

.process-grid,
.portfolio-grid,
.blog-grid,
.faq-list {
    display: grid;
    gap: 24px;
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.process-item {
    padding: 28px;
}

.process-item span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--surface-2);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-thumb {
    height: 240px;
    background: linear-gradient(135deg, #dbe7ff, #edf3ff);
}

.portfolio-thumb.placeholder {
    position: relative;
}

.portfolio-thumb.placeholder::after {
    content: "Preview";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #5a6b90;
    font-weight: 700;
    letter-spacing: 1px;
}

.portfolio-body {
    padding: 22px;
}

.portfolio-body h3,
.portfolio-body h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 22px;
}

.portfolio-body p {
    margin: 0;
    color: var(--text-light);
}

.form-wrap {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.site-form {
    background: #fff;
    padding: 28px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.site-form input,
.site-form select,
.site-form textarea {
    width: 100%;
    border: 1px solid #dbe2ef;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
}

.site-form textarea {
    margin-bottom: 16px;
    resize: vertical;
}

.faq-list {
    grid-template-columns: repeat(2, 1fr);
}

.faq-item {
    padding: 28px;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.cta-section {
    padding: 0 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, #091226 0%, #122447 100%);
    color: #fff;
    border-radius: 28px;
    padding: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.cta-box h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.inner-page {
    padding: 70px 0;
}

.default-page,
.single-post,
.post-card {
    padding: 28px;
}

.archive-header {
    margin-bottom: 30px;
}

.site-footer {
    background: #0a1020;
    color: rgba(255,255,255,0.8);
    padding: 70px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

.site-footer h3 {
    color: #fff;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

@media (max-width: 1100px) {
    .hero-grid,
    .form-wrap,
    .three-col,
    .four-col,
    .portfolio-grid,
    .process-grid,
    .faq-list,
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner,
    .cta-box,
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-grid,
    .form-wrap,
    .three-col,
    .four-col,
    .portfolio-grid,
    .process-grid,
    .faq-list,
    .footer-inner,
    .form-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .hero-section {
        padding-top: 70px;
    }

    .section-block {
        padding: 70px 0;
    }

    .portfolio-thumb {
        height: 200px;
    }
}
