.home-page {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.14), transparent 24%),
        linear-gradient(180deg, #03122f 0%, #031733 46%, #021a28 100%);
    color: #ffffff;
    min-height: 100vh;
}

.home-page * {
    box-sizing: border-box;
}

.home-page .container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.home-page .hero-section {
    padding: 64px 0 40px;
    overflow: hidden;
}

.home-page .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(540px, 610px);
    gap: 42px;
    align-items: center;
}

.home-page .hero-copy {
    max-width: 640px;
}

.home-page .hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    margin-bottom: 20px;
}

.home-page .hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.home-page .hero-text {
    margin: 0;
    max-width: 620px;
    color: #b6c3d7;
    font-size: 1.08rem;
    line-height: 1.85;
}

.home-page .hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.home-page .hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-page .hero-point {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #dbe7f6;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-page .hero-point::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.10);
    flex: 0 0 8px;
}

.home-page .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.home-page .stat-card {
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(18, 37, 71, 0.92) 0%, rgba(14, 30, 57, 0.94) 100%);
    border: 1px solid rgba(94, 122, 168, 0.22);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-page .stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.home-page .stat-card span {
    display: block;
    color: #c1d0e7;
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
}

.home-page .hero-visual {
    width: 100%;
}

.home-page .editor-frame {
    position: relative;
    width: 100%;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(9, 23, 52, 0.96) 0%, rgba(8, 18, 42, 0.98) 100%);
    border: 1px solid rgba(89, 117, 166, 0.20);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    overflow: hidden;
}

.home-page .editor-frame::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.16);
    filter: blur(10px);
    pointer-events: none;
}

.home-page .editor-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(89, 117, 166, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.home-page .editor-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.home-page .editor-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.home-page .editor-dots span:nth-child(1) {
    background: #fb7185;
}

.home-page .editor-dots span:nth-child(2) {
    background: #fbbf24;
}

.home-page .editor-dots span:nth-child(3) {
    background: #34d399;
}

.home-page .editor-top-label {
    color: #e5eefc;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .editor-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    min-height: 720px;
}

.home-page .editor-left,
.home-page .editor-right {
    padding: 22px 16px;
    background: rgba(255, 255, 255, 0.02);
}

.home-page .editor-left {
    border-right: 1px solid rgba(89, 117, 166, 0.16);
}

.home-page .editor-right {
    border-left: 1px solid rgba(89, 117, 166, 0.16);
}

.home-page .editor-label {
    margin-bottom: 16px;
    color: #7fa3da;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.home-page .editor-item {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: #e8f0fb;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.home-page .editor-item.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6 58%, #7c3aed 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.home-page .editor-center {
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(8, 20, 46, 0.74) 0%, rgba(5, 15, 34, 0.84) 100%);
}

.home-page .device-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.home-page .device-tabs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: #d9e6f8;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-page .device-tabs span.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.home-page .canvas-preview {
    min-height: 500px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #2563eb 0%, #4361ee 46%, #7c3aed 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 24px 44px rgba(0, 0, 0, 0.30);
}

.home-page .canvas-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.home-page .canvas-preview h3 {
    margin: 20px 0 14px;
    color: #ffffff;
    font-size: 2.05rem;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
    max-width: 460px;
}

.home-page .canvas-preview p {
    margin: 0;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.8;
}

.home-page .canvas-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-page .canvas-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
}

.home-page .canvas-lines {
    display: grid;
    gap: 10px;
    margin-top: 30px;
    max-width: 470px;
}

.home-page .canvas-lines span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.home-page .canvas-lines span:nth-child(1) {
    width: 100%;
}

.home-page .canvas-lines span:nth-child(2) {
    width: 82%;
}

.home-page .canvas-lines span:nth-child(3) {
    width: 90%;
}

.home-page .format-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.home-page .format-chip {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(18, 37, 71, 0.88) 0%, rgba(12, 27, 52, 0.92) 100%);
    border: 1px solid rgba(94, 122, 168, 0.18);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.home-page .format-chip strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
}

.home-page .format-chip span {
    display: block;
    color: #bdd0ea;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 600;
}

.home-page .section {
    padding: 84px 0;
}

.home-page .section-header {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.home-page .section-header h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.home-page .section-header p {
    margin: 0;
    color: #b6c3d7;
    font-size: 1.04rem;
    line-height: 1.85;
}

.home-page .card-grid {
    display: grid;
    gap: 22px;
}

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

.home-page .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .feature-card,
.home-page .workflow-card,
.home-page .faq-card,
.home-page .pricing-card,
.home-page .cta-box {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 34, 65, 0.94) 0%, rgba(11, 24, 46, 0.96) 100%);
    border: 1px solid rgba(94, 122, 168, 0.18);
    box-shadow:
        0 20px 36px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-page .feature-card {
    padding: 28px;
}

.home-page .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 18px 28px rgba(37, 99, 235, 0.24);
}

.home-page .feature-card h3,
.home-page .workflow-card h3,
.home-page .faq-card h3,
.home-page .pricing-card h3,
.home-page .cta-box h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.28rem;
    line-height: 1.3;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.home-page .feature-card p,
.home-page .workflow-card p,
.home-page .faq-card p,
.home-page .pricing-card p,
.home-page .cta-box p {
    margin: 0;
    color: #b9cae3;
    font-size: 1rem;
    line-height: 1.8;
}

.home-page .workflow-card {
    padding: 28px;
}

.home-page .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 18px 28px rgba(37, 99, 235, 0.22);
}

.home-page .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.home-page .pricing-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.home-page .pricing-card.featured {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.34);
    background:
        linear-gradient(180deg, rgba(24, 45, 84, 0.98) 0%, rgba(16, 31, 59, 0.98) 100%);
    box-shadow:
        0 24px 42px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(59, 130, 246, 0.14) inset;
}

.home-page .pricing-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 34px;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-page .pricing-highlight {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 30px;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #dbeafe;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-page .price-wrap {
    margin-bottom: 14px;
}

.home-page .price {
    color: #ffffff;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.home-page .price small {
    color: #b8c9e2;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
}

.home-page .price-secondary {
    margin-top: 8px;
    color: #9fb7d8;
    font-size: 0.94rem;
    font-weight: 700;
}

.home-page .pricing-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
    display: grid;
    gap: 12px;
}

.home-page .pricing-list li {
    position: relative;
    padding-left: 28px;
    color: #e4edf9;
    font-size: 0.97rem;
    line-height: 1.6;
    font-weight: 700;
}

.home-page .pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #60a5fa;
    font-weight: 900;
}

.home-page .pricing-button {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.home-page .faq-list {
    display: grid;
    gap: 18px;
}

.home-page .faq-card {
    padding: 28px;
}

.home-page .cta-box {
    padding: 36px;
    margin-top: 36px;
    text-align: center;
}

.home-page .cta-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.home-page .cta-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #dbe7f6;
    font-size: 0.85rem;
    font-weight: 700;
}

.home-page .cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.home-page .cta-site-link {
    margin-top: 18px;
    color: #95aac7;
    font-size: 0.92rem;
    font-weight: 600;
    word-break: break-word;
}

.home-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.home-page .btn:hover {
    transform: translateY(-2px);
}

.home-page .btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6 58%, #7c3aed 100%);
    border: 1px solid transparent;
    color: #ffffff;
    box-shadow: 0 18px 28px rgba(37, 99, 235, 0.26);
}

.home-page .btn-primary:hover {
    box-shadow: 0 22px 34px rgba(37, 99, 235, 0.34);
}

.home-page .btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.home-page .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.home-page .btn-large {
    min-height: 56px;
    padding: 0 28px;
}

@media (max-width: 1200px) {
    .home-page .hero-grid {
        grid-template-columns: 1fr;
    }

    .home-page .hero-copy {
        max-width: 100%;
    }

    .home-page .editor-body {
        grid-template-columns: 150px minmax(0, 1fr) 150px;
    }

    .home-page .card-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .format-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-page .hero-section {
        padding: 44px 0 30px;
    }

    .home-page .hero-stats,
    .home-page .card-grid.three,
    .home-page .card-grid.four,
    .home-page .format-strip {
        grid-template-columns: 1fr;
    }

    .home-page .editor-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-page .editor-left,
    .home-page .editor-right {
        border: 0;
        border-bottom: 1px solid rgba(89, 117, 166, 0.16);
    }

    .home-page .editor-right {
        border-top: 1px solid rgba(89, 117, 166, 0.16);
        border-bottom: 0;
    }

    .home-page .section {
        padding: 70px 0;
    }
}

@media (max-width: 640px) {
    .home-page .container {
        width: min(100% - 24px, 1280px);
    }

    .home-page .hero-copy h1 {
        font-size: 2.15rem;
    }

    .home-page .hero-actions-row,
    .home-page .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .btn,
    .home-page .btn-large {
        width: 100%;
    }

    .home-page .stat-card,
    .home-page .feature-card,
    .home-page .workflow-card,
    .home-page .faq-card,
    .home-page .pricing-card,
    .home-page .cta-box {
        border-radius: 22px;
    }

    .home-page .editor-frame {
        border-radius: 24px;
    }

    .home-page .editor-top,
    .home-page .editor-left,
    .home-page .editor-center,
    .home-page .editor-right,
    .home-page .canvas-preview {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-page .canvas-preview {
        min-height: 360px;
    }

    .home-page .canvas-preview h3 {
        font-size: 1.65rem;
    }

    .home-page .price {
        font-size: 2rem;
    }
}