:root {
    --product-border: rgba(213, 227, 215, 0.8);
}

.product-hero {
    position: relative;
    overflow: visible;
    background: transparent;
    padding-bottom: clamp(3rem, 8vw, 5rem);
    margin-bottom: 0;
}

body {
    background: linear-gradient(180deg, #f0f7eb 0%, #f2f8ed 10%, #f5faf0 20%, #f8fbf2 30%, #ffffff 40%, #ffffff 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    min-height: 100vh;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(47, 158, 101, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(28, 124, 74, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.product-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(0.75rem, 3vw, 1.25rem);
}

.product-hero .page-hero__inner {
    gap: clamp(0.75rem, 3vw, 1.25rem);
    position: relative;
    z-index: 1;
}

.product-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    margin: 0;
    color: var(--color-text, #163524);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
    opacity: 1;
    visibility: visible;
}

.product-hero .hero-subtitle {
    margin: 0;
    color: var(--color-text-muted, #4b6654);
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.7;
    max-width: 70ch;
    margin-inline: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-hero .hero-title,
.product-hero .hero-subtitle {
    animation-fill-mode: forwards;
}

.product-hero__visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 158, 101, 0.2) 0%, rgba(47, 158, 101, 0.05) 50%, transparent 100%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-pulse--1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-pulse--2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation-delay: 1.5s;
}

.hero-pulse--3 {
    bottom: 20%;
    left: 50%;
    width: 120px;
    height: 120px;
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.product-hero__actions {
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.product-hero__actions .button-secondary {
    border-color: var(--product-border);
}

.combined-section {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    max-width: min(100%, 1200px);
    margin-inline: auto;
}

.how-it-works-meta {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.how-it-works-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

.how-it-works-meta__container {
    max-width: 1000px;
    margin: 0 auto;
}

.how-it-works-meta__heading {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #1c1e21;
    margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.how-it-works-meta__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.meta-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.meta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent, #8dc63f) 0%, var(--color-accent-strong, #6ba02f) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.meta-card:hover::before {
    transform: scaleX(1);
}

.meta-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 158, 101, 0.08) 0%, rgba(28, 124, 74, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-strong, #6ba02f);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.meta-card:hover .meta-card__icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(47, 158, 101, 0.12) 0%, rgba(28, 124, 74, 0.08) 100%);
}

.meta-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1e21;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.meta-card__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #606770;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .product-hero {
        padding-block: clamp(1.5rem, 4vw, 2.5rem);
    }

    .product-hero__content {
        gap: clamp(0.875rem, 2vw, 1.25rem);
    }

    .how-it-works-meta {
        padding: clamp(2rem, 4vw, 3rem);
        border-radius: 16px;
    }

    .how-it-works-meta__heading {
        font-size: clamp(1.5rem, 3vw, 1.9rem);
    }

    .how-it-works-meta__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .meta-card {
        padding: 1.5rem;
    }

    .typewriter-card {
        min-height: 350px;
    }

    .combined-section {
        gap: clamp(1.75rem, 4vw, 2.5rem);
    }
}

@media (max-width: 640px) {
    .product-hero__content {
        gap: clamp(0.75rem, 2vw, 1rem);
    }

    .how-it-works-meta {
        padding: clamp(1.75rem, 4vw, 2.5rem);
    }

    .meta-card {
        padding: 1.25rem;
    }

    .typewriter-card {
        min-height: 300px;
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .document-body {
        min-height: 300px;
    }
}

@media (max-width: 400px) {
    .how-it-works-meta {
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .meta-card {
        padding: 1rem;
    }
}

.summary-grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.summary-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--product-border);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.summary-card:hover::before {
    transform: scaleX(1);
}

.summary-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(47, 158, 101, 0.1) 0%, rgba(28, 124, 74, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-strong);
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.summary-card:hover .summary-card__icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(47, 158, 101, 0.15) 0%, rgba(28, 124, 74, 0.1) 100%);
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.summary-card h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--color-text);
    font-weight: 700;
}

.summary-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.section-heading {
    font-size: clamp(2rem, 4.2vw, 2.6rem);
    margin: 0 0 1rem;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

.contact-lead {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 75ch;
    margin-inline: auto;
}

.typewriter-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--product-border);
    padding: clamp(2rem, 5vw, 2.8rem);
    box-shadow: 0 4px 20px rgba(28, 124, 74, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: min(100%, 900px);
    margin-inline: auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.typewriter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(28, 124, 74, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.typewriter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-strong) 50%, transparent 100%);
    opacity: 0.6;
}

.typewriter-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(47, 158, 101, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(28, 124, 74, 0.1);
}

.document-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.document-controls {
    display: inline-flex;
    gap: 0.5rem;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-flex;
}

.control-dot--close { background: #ef4444; }
.control-dot--minimise { background: #facc15; }
.control-dot--expand { background: #22c55e; }

.document-body {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-accent-soft);
    background: #fff;
    padding: clamp(1.2rem, 3vw, 1.6rem);
    box-shadow: inset 0 0 0 1px rgba(28, 124, 74, 0.06);
    min-height: 400px;
    overflow: visible;
}

#typewriter {
    font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted, #4a5568);
    white-space: pre-wrap;
    position: relative;
    min-height: 1em;
}

#typewriter::after {
    content: '|';
    display: inline;
    margin-left: 2px;
    animation: cursor 1s steps(2) infinite;
    color: var(--color-accent-strong, #6ba02f);
    font-weight: 700;
}

@keyframes cursor {
    50% { opacity: 0; }
}

.document-footer {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(28, 124, 74, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-strong);
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(47, 158, 101, 0.6);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.image-cta-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(28, 124, 74, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(28, 124, 74, 0.16), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-cta-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-cta-card:hover .image-cta-card__bg {
    transform: scale(1.08);
}

.image-cta-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 53, 36, 0.75) 0%, rgba(22, 53, 36, 0.5) 50%, rgba(22, 53, 36, 0.65) 100%);
    pointer-events: none;
}

.image-cta-card__content {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.image-cta-card__content h3 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-cta-card__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.cta-actions {
    display: inline-flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.image-cta-card .cta-button {
    background: #ffffff;
    color: var(--color-accent-strong, #6ba02f);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.image-cta-card .cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .image-cta-card {
        min-height: 400px;
    }

    .image-cta-card__content {
        padding: clamp(2.5rem, 5vw, 3.5rem);
        gap: 1.25rem;
    }

    .image-cta-card__content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .image-cta-card__content p {
        font-size: clamp(0.9rem, 2vw, 1.05rem);
    }
}

@media (max-width: 640px) {
    .image-cta-card {
        min-height: 350px;
    }

    .image-cta-card__content {
        padding: clamp(2rem, 5vw, 2.5rem);
        gap: 1rem;
    }
}

.exploded-section {
    position: relative;
    border-top: 1px solid var(--product-border);
    border-bottom: 1px solid var(--product-border);
    min-height: 320vh;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    padding-bottom: clamp(4rem, 10vw, 6rem);
}

.exploded-animation-container {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.exploded-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding-top: var(--nav-height-desktop, 80px);
    box-sizing: border-box;
}

.exploded-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    background: #ffffff;
}

.exploded-image.active {
    opacity: 1;
}

.exploded-text-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: min(400px, 35vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    z-index: 2;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
    overflow: visible;
}

.exploded-step {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(28, 124, 74, 0.22);
    border-radius: var(--radius-md);
    padding: clamp(1rem, 2.5vw, 1.3rem);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    display: grid;
    gap: 0.5rem;
    align-content: center;
    position: absolute;
    right: 0;
    max-width: calc(100% - 2rem);
    transition: none;
    margin-right: clamp(1rem, 3vw, 2rem);
}

#exploded-step1,
#exploded-step2,
#exploded-step3 {
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin-left: clamp(1rem, 3vw, 2rem);
    margin-right: clamp(1rem, 3vw, 2rem);
}

.exploded-step::after {
    content: '';
    position: fixed;
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    left: 50vw;
    transform: translateX(-50%);
}

#exploded-step1::after {
    top: 30vh;
}

#exploded-step2::after {
    top: 50vh;
}

#exploded-step3::after {
    top: 70vh;
}

.exploded-step h2 {
    margin: 0.25rem 0;
    font-size: clamp(1.2rem, 2.5vw, 1.35rem);
    color: var(--color-text);
    line-height: 1.2;
}

.exploded-step ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
}


.exploded-step .step-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--color-accent-strong);
}

.exploded-step li + li {
    margin-top: 0.3rem;
}


@media (max-width: 1024px) {
    .exploded-text-overlay {
        width: min(380px, 40vw);
        padding: clamp(1.5rem, 4vw, 2.5rem);
    }

    .exploded-image-container {
        width: 100vw;
        height: 100vh;
    }

    .exploded-step {
        max-width: calc(100% - 1rem);
        margin-right: clamp(0.5rem, 2vw, 1rem);
        margin-left: clamp(0.5rem, 2vw, 1rem);
    }

    .exploded-step::before {
        width: calc(50vw - 100px);
    }

    #exploded-step1::before,
    #exploded-step2::before,
    #exploded-step3::before {
        left: 50vw;
        transform: translateX(-100%) translateY(-50%);
    }

    #exploded-step1::after,
    #exploded-step2::after,
    #exploded-step3::after {
        left: 50vw;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .exploded-section {
        min-height: 420vh;
        padding-bottom: clamp(3rem, 8vw, 5rem);
    }

    .exploded-image-container {
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        padding-top: var(--nav-height-mobile, 72px);
    }

    .exploded-text-overlay {
        width: min(90vw, 350px);
        padding: clamp(1.25rem, 4vw, 2rem);
    }

    .exploded-step {
        max-width: calc(100% - 2rem);
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }

    .exploded-step h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .exploded-step ul {
        font-size: clamp(0.875rem, 2vw, 1rem);
    }
}

@media (max-width: 640px) {
    .exploded-section {
        min-height: 450vh;
    }

    .exploded-text-overlay {
        width: min(95vw, 320px);
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    .exploded-step {
        max-width: calc(100% - 1.5rem);
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    .step-label {
        font-size: clamp(0.75rem, 2vw, 0.875rem);
    }
}

@media (max-width: 400px) {
    .exploded-step {
        max-width: calc(100% - 1rem);
        padding: clamp(0.875rem, 4vw, 1.25rem);
    }
}

