:root {
    --background: #101e22;
    --background-dark: #0b1518;
    --foreground: #f5f8f8;
    --muted: #a0adb8;
    --muted-2: #6f7e88;
    --white-05: rgba(255, 255, 255, 0.05);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-10: rgba(255, 255, 255, 0.10);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-20: rgba(255, 255, 255, 0.20);
    --primary: #0db9f2;
    --primary-dark: #0895c2;
    --primary-glow: rgba(13, 185, 242, 0.30);
    --purple: #a855f7;
    --purple-soft: rgba(168, 85, 247, 0.20);
    --emerald: #34d399;
    --blue: #60a5fa;
    --red: #f87171;
    --yellow: #facc15;
    --success: #4ade80;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --container: 1280px;
    --header-height: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga";
    vertical-align: middle;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    background: #fff;
    color: #000;
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 1000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 96px 0;
    border-top: 1px solid var(--white-05);
    background: var(--background-dark);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header.left {
    max-width: none;
    margin: 0 0 48px;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(13, 185, 242, 0.20);
    background: rgba(13, 185, 242, 0.10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(13, 185, 242, 0.7);
    animation: pulse 1.8s infinite;
}

.section-title {
    margin: 18px 0 14px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-text {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-panel,
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--white-10);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-panel {
    border-radius: 18px;
}

.glass-card {
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 185, 242, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0 0;
    background: linear-gradient(to bottom, rgba(11, 21, 24, 0.75), rgba(11, 21, 24, 0));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 40px;
    height: auto;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.primary-nav ul,
.footer-nav ul,
.inline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher details {
    position: relative;
}

.lang-switcher summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.lang-switcher summary::-webkit-details-marker {
    display: none;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 160px;
    padding: 8px 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid var(--white-10);
    box-shadow: var(--shadow-lg);
}

.lang-menu li a {
    display: block;
    padding: 10px 16px;
    color: #d7e0e6;
    font-size: 0.95rem;
}

.lang-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.25s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #08212a;
    box-shadow: 0 0 26px rgba(13, 185, 242, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white-10);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
}

.btn-ghost {
    background: transparent;
    border-color: var(--white-20);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

main#main-content {
    margin-top: -106px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 20px);
    padding: 186px 0 40px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(13, 185, 242, 0.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.12), transparent 35%),
        linear-gradient(180deg, #101e22 0%, #0b1518 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    margin: 22px 0 20px;
    font-size: clamp(2.7rem, 7vw, 5.25rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero-description {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
}

/* HERO CONTAINER */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

/* BIG BACKGROUND TEXT */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #3bd1ff, #6a5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.08;
    filter: blur(1px);
    pointer-events: none;
    animation: floatText 8s ease-in-out infinite;
}

/* FLOAT ANIMATION */
@keyframes floatText {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}

/* ORB */
.floating-orb {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3bd1ff, #6a5cff, #0a0f1c);
    filter: blur(70px);
    opacity: 0.6;
    animation: floatOrb 10s ease-in-out infinite;
}

/* ORB ANIMATION */
@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-25px) scale(1.05);
    }
}

/* FLOATING CARD */
.floating-card {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 260px;
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatCard 7s ease-in-out infinite;
}

/* CARD ANIMATION */
@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* STATUS */
.status-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

/* PROGRESS */
.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
}

.progress-fill.primary {
    width: 84%;
    background: linear-gradient(90deg, #3bd1ff, #6a5cff);
}

.progress-fill.purple {
    width: 60%;
    background: linear-gradient(90deg, #a855f7, #6366f1);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ccc;
}

.abstract-shape.shape-a {
    top: 40px;
    right: 40px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle, rgba(13, 185, 242, 0.12), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
}

.floating-card {
    position: absolute;
    left: 0;
    bottom: 100px;
    width: 320px;
    padding: 24px;
    border-radius: var(--radius-lg);
    animation: floatY 8s ease-in-out infinite;
}

.floating-orb {
    position: absolute;
    top: 150px;
    left: 60px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid var(--white-10);
    background: linear-gradient(135deg, rgba(13, 185, 242, 0.22), rgba(168, 85, 247, 0.18));
    backdrop-filter: blur(16px);
    animation: floatY 12s ease-in-out infinite;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.55);
}

.progress-stack {
    display: grid;
    gap: 14px;
}

.progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
}

.progress-fill.primary {
    width: 75%;
    background: linear-gradient(90deg, var(--primary), #53d4ff);
    box-shadow: 0 0 12px rgba(13, 185, 242, 0.7);
}

.progress-fill.purple {
    width: 50%;
    background: linear-gradient(90deg, var(--purple), #d8b4fe);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: 6px;
}

.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    opacity: 0.35;
}

.hero-glow.one {
    top: -160px;
    left: -100px;
    background: rgba(13, 185, 242, 0.35);
}

.hero-glow.two {
    right: -120px;
    bottom: -120px;
    background: rgba(168, 85, 247, 0.22);
}

.stats {
    padding: 56px 0;
    border-top: 1px solid var(--white-05);
    border-bottom: 1px solid var(--white-05);
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat {
    text-align: center;
}

.stat dt {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 700;
}

.stat dd {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.cards-grid {
    display: grid;
    gap: 28px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2-1 {
    grid-template-columns: 1fr 1fr;
}

.card {
    padding: 28px;
    height: 100%;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid var(--white-08);
}

.icon-box.primary {
    background: rgba(13, 185, 242, 0.10);
    color: var(--primary);
}

.icon-box.purple {
    background: rgba(168, 85, 247, 0.10);
    color: #c084fc;
}

.icon-box.emerald {
    background: rgba(52, 211, 153, 0.10);
    color: var(--emerald);
}

.icon-box.blue {
    background: rgba(96, 165, 250, 0.10);
    color: var(--blue);
}

.icon-box.red {
    background: rgba(248, 113, 113, 0.10);
    color: var(--red);
}

.icon-box.yellow {
    background: rgba(250, 204, 21, 0.10);
    color: var(--yellow);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    line-height: 1.2;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
}

.step-number-bg {
    position: absolute;
    top: -8px;
    right: 8px;
    font-size: 7rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.step-icon.primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
}

.step-icon.purple {
    background: linear-gradient(135deg, var(--purple), #ec4899);
}

.step-icon.emerald {
    background: linear-gradient(135deg, #34d399, #14b8a6);
}

.workflow-section {
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(13, 185, 242, 0.08), transparent 35%),
        var(--background-dark);
}

.workflow-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.workflow-figure {
    margin: 0;
}

.workflow-graphic {
    position: relative;
    width: min(500px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.orbit,
.orbit-small,
.orbit-dashed {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.orbit {
    border: 1px solid rgba(13, 185, 242, 0.2);
    animation: spin 20s linear infinite;
}

.orbit-small {
    inset: 16px;
    border: 1px solid rgba(13, 185, 242, 0.1);
    animation: spinReverse 15s linear infinite;
}

.orbit-dashed {
    inset: -10%;
    border: 1px dashed rgba(255, 255, 255, 0.10);
    animation: spin 60s linear infinite;
}

.orbit-node {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(13, 185, 242, 0.85);
}

.workflow-core {
    position: absolute;
    inset: 12.5%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 185, 242, 0.20), rgba(168, 85, 247, 0.18));
    border: 1px solid var(--white-10);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 50px rgba(13, 185, 242, 0.12);
}

.workflow-core-inner {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.workflow-core-number {
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
}

.workflow-core-label {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
}

.workflow-list {
    list-style: none;
    margin: 32px 0 0;
    padding: 32px 0 0;
    border-top: 1px solid var(--white-10);
    display: grid;
    gap: 28px;
}

.workflow-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.workflow-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.workflow-badge.primary {
    background: rgba(13, 185, 242, 0.10);
    color: var(--primary);
}

.workflow-badge.purple {
    background: rgba(168, 85, 247, 0.10);
    color: #c084fc;
}

.workflow-badge.emerald {
    background: rgba(52, 211, 153, 0.10);
    color: var(--emerald);
}

.workflow-list h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.workflow-list p {
    margin: 0;
    color: var(--muted);
}

.projects-header,
.blog-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.projects-grid,
.blog-grid {
    display: grid;
    gap: 24px;
}

.projects-grid {
    grid-template-columns: repeat(4, 1fr);
}

.project-card {
    overflow: hidden;
    padding: 10px;
}

.project-link {
    position: relative;
    display: block;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.project-card:hover .project-visual {
    transform: scale(1.04);
}

.project-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, 0.35);
    font-size: 3rem;
    font-weight: 800;
    transition: transform 0.45s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18), transparent);
}

.project-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
}

.project-content h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.project-meta {
    margin: 0;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-grid {
    grid-template-columns: repeat(4, 1fr);
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.post-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-thumb {
    position: relative;
    min-height: 190px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, 0.35);
}

.post-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    flex: 1;
}

.post-category {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.post-link:hover .post-title {
    color: var(--primary);
}

.post-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.post-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--white-10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted-2);
    font-size: 0.82rem;
}

.tech-section {
    text-align: center;
}

.tech-title {
    margin: 0 0 42px;
    color: var(--muted-2);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0.72;
}

.tech-list span {
    color: #b8c3ca;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.tech-list span:hover {
    color: #fff;
}

.site-footer {
    border-top: 1px solid var(--white-05);
    background: #091114;
    padding: 32px 0;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-nav ul {
    display: flex;
    gap: 22px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.95rem;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.75;
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media (max-width: 1200px) {

    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .primary-nav {
        display: none;
    }

    .hero-grid,
    .workflow-grid,
    .grid-2-1,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 56px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
    }

    .workflow-grid {
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .site-header-inner {
        padding: 14px 18px;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .header-actions {
        gap: 10px;
    }

    .lang-switcher {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.3rem, 11vw, 4rem);
    }

    .hero-description,
    .section-text {
        font-size: 1rem;
    }

    .section {
        padding: 72px 0;
    }

    .stats-grid,
    .grid-3,
    .grid-4,
    .steps-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .projects-header,
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}