/*
   COMPONENT SYSTEM - Nu-i Trimite Mesajul
   (Execution upgrade: same components, refined proportions.
    Completes styles the markup already expects: progress bar,
    waveform, btn--large.)
*/

/* 0. Scroll Progress Bar */
.progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1100;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--purple-main), var(--purple-light));
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* 1. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-duration, 0.4s) var(--ease-premium),
                transform 0.4s var(--ease-premium),
                box-shadow 0.4s var(--ease-premium);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn--primary {
    background-color: var(--purple-light);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px 0 rgba(206, 154, 217, 0.15);
}

.btn--primary:hover {
    background-color: #dfb3e8;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(206, 154, 217, 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--pulse {
    animation: pulse-glow 3.5s var(--ease-premium) infinite;
}

.btn--large {
    min-height: 52px;
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 380px;
}

.btn--small {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.875rem;
    border-radius: 10px;
}

.btn--centered {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

/* Glow-only pulse: no scale, calmer and steadier */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 14px 0 rgba(206, 154, 217, 0.15); }
    50%      { box-shadow: 0 0 24px rgba(206, 154, 217, 0.32); }
}

/* 2. Premium Mockups & Glows */
.premium-mockup {
    position: relative;
    z-index: 1;
}

.hero__mockup-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 8px 16px rgba(184, 134, 184, 0.1));
    animation: floating 7s ease-in-out infinite;
    transform: translateZ(0);
}

.glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--purple-main) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
 
/* 3. Cards & Grids */
.method-card, .bundle-card {
    background-color: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: border-color 0.4s var(--ease-premium),
                transform 0.4s var(--ease-premium),
                background-color 0.4s var(--ease-premium);
}

.method-card h3, .bundle-card h3 {
    font-size: var(--fs-h3);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-2);
}

.method-card p, .bundle-card p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0;
}

@media (hover: hover) {
    .bundle-card:hover,
    .method-card:hover {
        border-color: var(--purple-main);
        transform: translateY(-2px);
        background-color: rgba(184, 134, 184, 0.05);
    }
}

.bundle-card__icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: var(--space-4);
    display: block;
}

/* 4. iMessage Style Bubbles */
.msg-bubble {
    background: #1c1c27;
    padding: var(--space-5) var(--space-6);
    border-radius: 16px 16px 16px 6px;
    max-width: 88%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-card);
}

.msg-bubble p {
    font-size: var(--fs-body);
    line-height: 1.55;
    margin-bottom: 0;
}

/* Keeps the exact same visual spacing on Desktop as the old <br><br> */
.msg-stars {
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1;
}

.msg-bubble--alt {
    align-self: flex-end;
    background: var(--burgundy);
    border-radius: 16px 16px 6px 16px;
}

.msg-bubble--highlight {
    align-self: flex-end;
    background: rgba(184, 134, 184, 0.06);
    border: 1px solid var(--purple-main);
    border-radius: 16px 16px 6px 16px;
}

cite {
    display: block;
    font-style: normal;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-top: var(--space-3);
    opacity: 0.65;
}

/* 5. Accordion FAQ */
.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    padding: var(--space-5) 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--fs-body);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.accordion-header::after {
    content: '+';
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 400;
    color: var(--purple-light);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-premium);
}

.accordion-content p {
    padding-bottom: var(--space-5);
    color: var(--text-secondary);
    font-size: var(--fs-body);
    line-height: 1.65;
}

/* 6. Audio Waveform (visual for the player mock) */
.wave {
    flex: 1;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--purple-light), var(--purple-main));
    opacity: 0.75;
    transform-origin: center;
    animation: wave-bounce 1.6s ease-in-out infinite;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 0.2s; }
.wave:nth-child(3) { animation-delay: 0.4s; }
.wave:nth-child(4) { animation-delay: 0.6s; }
.wave:nth-child(5) { animation-delay: 0.8s; }

@keyframes wave-bounce {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

/* 7. Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-strong);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)) 0;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-premium);
    z-index: 1000;
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.sticky-cta__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sticky-price {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sticky-tag {
    display: block;
    font-size: 0.6875rem;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
