.page-content {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

:root {
    --scroll-animate-distance: 32px;
}

.section-padding {
    padding: 6rem 0;
}

h1,
h2 {
    font-weight: 700;
    line-height: 1.05;
    color: #0b0b0b;
    text-align: center;
}

h1 {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

p.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0.5rem auto 3rem;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight-red {
    color: #bf0b1b;
}

.highlight-pill {
    display: inline-block;
    background: #a00000;
    color: #ffffff;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.05em;
    line-height: 1;
}

.hero-section {
    padding: 5.5rem 0 0;
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-section h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.hero-decor .star {
    position: absolute;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a00000;
    border-radius: 50%;
    font-size: 14px;
    animation: starPulse 8s ease-in-out infinite;
    opacity: 0.85;
}

.hero-decor .s1 {
    top: 100px;
    left: 1%;
    animation-delay: 0s;
}

.hero-decor .s2 {
    top: 100px;
    right: 1%;
    animation-delay: 1.5s;
}

.hero-decor .s3 {
    top: 250px;
    left: 10%;
    animation-delay: 0.75s;
}

.hero-decor .s4 {
    top: 250px;
    right: 10%;
    animation-delay: 2.25s;
}

.hero-section p.section-description {
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-buttons {
    border-radius: 20px;
    padding: 22px;
    overflow: hidden;
    margin-top: 4rem;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(120deg, rgba(160, 0, 0, 0.08), rgba(0, 0, 0, 0.03));
    backdrop-filter: blur(12px);
}

.hero-arrow {
    position: absolute;
    right: 20%;
    top: 60px;
    width: 180px;
    height: auto;
    pointer-events: none;
}

.btn-outline-dark {
    background-color: #a00000;
    color: #ffffff;
    border: 2px solid #a00000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
    background-color: #a00000;
}

.btn-outline-light {
    background-color: #ffffff;
    color: #0b0b0b;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.14);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
}

.mockup-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    animation: floatMockup 14s ease-in-out infinite;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.feature-section.alt {
    flex-direction: row-reverse;
}

.text-block {
    flex: 1;
    min-width: 40%;
}

.text-block h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-block p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.text-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.text-block li {
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.75rem;
}

.image-block img {
    width: 100%;
    display: block;
    height: auto;
}

.section-3-title h2 {
    text-align: left;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.2rem;
    color: #1f192f;
}

.section-3-title p {
    margin-top: 1.5rem;
}

.features-grid-container h2 {
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02), 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.0);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #a00000 0%, #800000 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card>* {
    position: relative;
    z-index: 2;
}

.card-desc {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.feature-card:hover .card-desc {
    color: #ffffff;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
}

.card-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.card-category {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.feature-card:hover .card-category {
    color: rgba(255, 255, 255, 0.9);
}

.card-arrow {
    font-size: 0.9rem;
    color: #a00000;
    transform: rotate(-45deg);
    transition: color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .card-arrow {
    color: #ffffff;
    transform: rotate(0deg) translateX(4px);
}

.card-icon-circle {
    width: 56px;
    height: 56px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0b0b;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .card-icon-circle {
    background-color: #ffffff;
    color: #a00000;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-5 h2 {
    font-size: 2.8rem;
}

@media (max-width: 1024px) {
    .feature-section {
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .section-3-title h2 {
        text-align: center;
        font-size: 2.2rem;
    }
}

@media (max-width: 860px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .feature-section,
    .feature-section.alt {
        flex-direction: column;
        text-align: center;
    }

    .text-block,
    .image-block {
        min-width: 100%;
    }

    .text-block h2 {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(var(--scroll-animate-distance));
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

.delay-3 {
    transition-delay: 0.36s;
}

.delay-4 {
    transition-delay: 0.48s;
}

.delay-5 {
    transition-delay: 0.6s;
}

@keyframes starPulse {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-12px) scale(1.15) rotate(4deg);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
}

@keyframes floatMockup {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-decor .star,
    .mockup-card img {
        animation: none;
    }
}

#rewriting-text {
    display: inline-block;
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: white
    }
}

.highlight-pill #rewriting-text {
    animation: blink-cursor 0.75s step-end infinite;
}

.pricing-section h2 {
    margin-bottom: 3rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlight {
    background: #a00000;
    color: #ffffff;
    transform: scale(1.05);
    border: none;
    box-shadow: 0 20px 60px rgba(160, 0, 0, 0.3);
    z-index: 2;
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: inherit;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-top: 6px;
    margin-right: 2px;
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 6px;
    opacity: 0.7;
}

.plan-desc {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-card.highlight .plan-desc {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-card .divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.pricing-card.highlight .divider {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.highlight .btn-outline-dark {
    background: #ffffff;
    color: #a00000;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlight .btn-outline-dark:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    color: #800000;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
    box-shadow: none;
}

.pricing-card.highlight .plan-features li {
    color: #ffffff;
}

.plan-features i {
    color: #a00000;
    font-size: 1.1rem;
}

.pricing-card.highlight .plan-features i {
    color: #ffffff;
}

.plan-btn {
    display: block;
    width: 100%;
    margin-top: auto;
}

.btn-light {
    background: #ffffff;
    color: #a00000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-light:hover {
    transform: translateY(-2px);
    background: #f8f8f8;
}

.contact-section {
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.contact-text {
    flex: 1;
    max-width: 500px;
}

.contact-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-text p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 500px;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a00000;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: #a00000;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(160, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #800000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0b0b0b;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.highlight {
        transform: scale(1);
    }

    .pricing-card.highlight:hover {
        transform: translateY(-5px);
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-text h2 {
        text-align: center;
    }

    .contact-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .hero-section h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-decor .star {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .btn-outline-dark,
    .btn-outline-light {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature-card {
        min-height: auto;
        padding: 2rem;
    }

    .pricing-grid {
        padding: 0 1rem;
    }

    .pricing-card {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.4rem;
        line-height: 1.1;
        padding: 0 5%;
    }

    .highlight-pill {
        padding: 0.1rem 0.8rem;
        font-size: 0.9em;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-arrow,
    .hero-decor {
        display: none;
    }
}