/* ========================
   FONTS
======================== */

@font-face {
    font-family: 'Raleway';
    src: url(1Ptug8zYS_SKggPNyCMIT4ttDfCmxA.woff2) format('woff2');
}

@font-face {
    font-family: 'MSO';
    src: url(mso.woff) format('woff');
}

/* ========================
   BASE
======================== */

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    background: #f8f9fb;
    color: #111;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================
   ICONS (KEEP!)
======================== */

.mso {
    font-family: 'MSO';
    font-size: 28px;
    color: #0336FF;
    display: inline-block;
}

/* ========================
   TOP BAR
======================== */

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top .item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================
   HERO (бывший .A)
======================== */

.hero-box {
    margin: 120px auto;
    padding: 32px;
    border-radius: 60px;
    background: linear-gradient(45deg, #FFFF00, #FF0266, #0336FF);
    width: fit-content;
}

.hero-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffffcc;
    margin-bottom: 16px;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 520px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-card-inner {
    background: white;
    border-radius: 20px;
    padding: 32px;
}

.hero-card {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(45deg, #FFFF00, #FF0266, #0336FF);
    width: 100%;
    max-width: 700px;
    transition: 0.5s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
}

.hero-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, #FFFF00, #FF0266, #0336FF);
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 30px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 4px;

    background: linear-gradient(0deg, #FF0266, #0336FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================
   FEATURES (бывший .B)
======================== */

.features {
    width: 90%;
    margin: 0 auto;
}

.features-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.feature-img {
    margin: 0 auto 16px auto;
    width: 80px;
    height: 80px;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-img img {
    border-radius: 50%;
}

.feature-content {
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-link {
    margin-top: 8px;
}

.feature-link a {
    color: #2979FF;
    font-weight: 600;
}

/* ========================
   HERO SECTION (новый)
======================== */

.hero {
    padding: 100px 0;

    position: relative;
    overflow: hidden;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #0336FF, #FF0266);
    color: white;
    text-align: left;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.hero::before {
    background: #FF0266;
    top: -100px;
    left: -100px;
}

.hero::after {
    background: #0336FF;
    bottom: -100px;
    right: -100px;
}

.hero-heading {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
}

.hero p {
    font-size: 20px;
    margin: 16px 0;
}

/* ========================
   BUTTONS
======================== */

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: white;
    color: #0336FF;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;

    background: transparent;
    border: 2px solid white;
    color: white;

    transition: 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #0336FF;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* ========================
   CARDS (новые)
======================== */

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.card-label {
    font-size: 36px;
    font-weight: 700;
    color: #0336FF;
    margin-bottom: 16px;
}

/* ========================
   CONTENT
======================== */

.content {
    padding: 120px 0;
    background: #ffffff;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.content-block {
    margin-bottom: 80px;
    padding: 40px;
    border-radius: 16px;

    background: linear-gradient(135deg, #fbf5ff, #fff0f5);

    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s;
}

.content-block:hover {
    transform: translateY(-5px);
}

.content-block.highlight {
    background: linear-gradient(135deg, #f5f7ff, #fff0f5);
}

.content-block h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.content-block p {
    margin-bottom: 12px;
    color: #444;
}

/* ========================
   STEPS
======================== */

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0336FF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ========================
   GRID
======================== */

.grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.grid-list li {
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}

/* ========================
   UTILITIES
======================== */

.box-shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========================
   SPLITTING
======================== */

.split-block {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transform: translateX(0);
}

.split-block:nth-child(odd) {
    transform: translateX(-40px);
}

.split-block:nth-child(even) {
    transform: translateX(40px);
}

.split-block.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 0 0 50%;
    max-width: 50%;
}

.split-visual {
    flex: 0 0 50%;
    max-width: 50%;
}

.big-text {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.split-block .split-text {
    text-align: left;
}

.split-block .split-visual {
    justify-content: flex-end;
}

.split-block.reverse .split-text {
    text-align: right;
}

.split-block.reverse .split-visual {
    justify-content: flex-start;
}

/* ========================
   VISUALS
======================== */

.visual-card.chaos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.visual-card.chaos div {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    transform: rotate(-5deg);
}

.visual-card.clean {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.visual-card.clean div {
    background: white;
    padding: 36px;
    border-radius: 8px;
    transform: rotate(-1deg);
}

.visual-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    font-weight: 600;
}

.visual-flow div {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 120px;
}

.output-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.output-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.output-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.output-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.center-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================
   BORDER
======================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}
