/* ============================================
   LANDING PAGE — SharpWebP Gold Theme
   Matched to landing/index.php HTML classes
   ============================================ */

/* --- Shared Section Header --- */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white-warm);
    margin-bottom: 16px;
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Hero --- */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white-warm);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero__note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Demo Section --- */
.demo {
    padding: 40px 0 80px;
}

.demo__box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.demo__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo__dropzone {
    border: 2px dashed rgba(201, 169, 110, 0.25);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.demo__dropzone:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.04);
}

.demo__dropzone-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.demo__dropzone h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--cream);
}

.demo__dropzone p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.demo__dropzone input[type="file"] {
    display: none;
}

.demo__processing {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.demo__progress-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
}

.demo__progress-ring svg {
    transform: rotate(-90deg);
}

.demo__progress-ring .bg {
    fill: none;
    stroke: rgba(201, 169, 110, 0.1);
    stroke-width: 6;
}

.demo__progress-ring .fg {
    fill: none;
    stroke: url(#progress-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.3s;
}

.demo__progress-percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold);
}

.demo__progress-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.demo__results {
    display: none;
}

.demo__comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.demo__file-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.demo__file-card img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 8px;
}

.demo__file-card h4 {
    font-size: 0.85rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.demo__file-size {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cream);
}

.demo__file-format {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.demo__savings {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.demo__savings-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
}

.demo__savings-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.demo__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.demo__metric {
    text-align: center;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
}

.demo__metric-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cream);
}

.demo__metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.demo__upsell {
    background: rgba(201, 169, 110, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    text-align: center;
}

.demo__upsell p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.demo__reset {
    width: 100%;
    padding: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.demo__reset:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* --- Stats Bar --- */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats__number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white-warm);
    margin-bottom: 4px;
}

.stats__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Features --- */
.features {
    padding: 100px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.3s, transform 0.2s;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-2px);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: var(--gold-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white-warm);
}

.feature-card__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step__number {
    width: 56px;
    height: 56px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--bg-deep);
    margin: 0 auto 20px;
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white-warm);
}

.step__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Pricing --- */
.pricing {
    padding: 100px 0;
}

.pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pricing__toggle-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.pricing__toggle-label.active {
    color: var(--cream);
    font-weight: 600;
}

.pricing__toggle-switch {
    width: 48px;
    height: 26px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing__toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.pricing__toggle-switch.annual::after {
    transform: translateX(22px);
}

.pricing__toggle-switch.annual {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.pricing__save-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 3px 10px;
    border-radius: 100px;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-4px);
}

.pricing-card--popular {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(201, 169, 110, 0.08);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--bg-deep);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--white-warm);
}

.pricing-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin: 12px 0 4px;
}

.pricing-card__currency {
    font-size: 1.2rem;
    font-weight: 500;
    vertical-align: super;
    color: var(--text-muted);
}

.pricing-card__period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-card__annual-note {
    font-size: 0.8rem;
    color: var(--gold);
    min-height: 1.2em;
    margin-bottom: 16px;
}

.pricing-card__cta {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-card__cta--primary {
    background: var(--gold);
    color: var(--bg-deep);
}

.pricing-card__cta--primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.pricing-card__cta--secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--cream);
}

.pricing-card__cta--secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card__feature {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card__feature-check {
    flex-shrink: 0;
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

.pricing-card__feature-check--yes {
    color: var(--gold);
}

.pricing-card__feature-check--no {
    color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-card__stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gold);
    flex-shrink: 0;
}

.testimonial-card__avatar--1 { background: rgba(201, 169, 110, 0.15); }
.testimonial-card__avatar--2 { background: rgba(232, 213, 168, 0.12); }
.testimonial-card__avatar--3 { background: rgba(201, 169, 110, 0.1); }

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cream);
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.faq__grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.faq__question:hover {
    color: var(--gold);
}

.faq__icon {
    font-size: 1.2rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.open .faq__answer {
    max-height: 300px;
}

.faq__answer-inner {
    padding: 0 0 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Final CTA --- */
.cta-section {
    padding: 120px 0;
    text-align: center;
}

.cta-section__box {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-section__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* === Currency Switcher === */
.currency-switcher {
    margin-bottom: 16px;
}

.currency-btn {
    font-family: var(--font-body);
}

.currency-btn.active {
    background: var(--gold) !important;
    color: var(--bg-deep) !important;
}

/* === Landing Responsive === */
@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .features__grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .demo__comparison { grid-template-columns: 1fr; }
    .demo__metrics { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero { padding: 100px 0 40px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 300px; }
    .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
