@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&family=Libre+Franklin:wght@400;500;700&display=swap');

:root {
    --rx-primary: #7e22ce;
    --rx-secondary: #581c87;
    --rx-accent: #fb923c;
    --rx-background: #faf5ff;
    --rx-text: #3b0764;
    --rx-muted: #c084fc;
    --rx-surface: #ffffff;
    --rx-border: rgba(0,0,0,0.1);
    --rx-shadow-light: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
    --rx-shadow-hover: 0 4px 8px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.08);
    --rx-border-radius-card: 12px;
    --rx-border-radius-button: 8px;
    --rx-border-radius-image: 8px;
    --rx-padding-xs: 8px;
    --rx-padding-sm: 16px;
    --rx-padding-md: 24px;
    --rx-padding-lg: 32px;
    --rx-padding-xl: 48px;
    --rx-padding-xxl: 64px;
    --rx-padding-section-desktop: 96px;
    --rx-padding-section-mobile: 64px;
    --rx-container-max-width: 1280px;
}

/* Base Reset & Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
    color: var(--rx-text);
    background-color: var(--rx-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--rx-accent);
    color: var(--rx-text);
}

/* Typography Scale */
h1, .rx-h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px to 72px */
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--rx-text);
}

h2, .rx-h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem); /* 32px to 48px */
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--rx-text);
    margin-bottom: var(--rx-padding-lg);
}

h3, .rx-h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem); /* 24px to 30px */
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--rx-text);
    margin-bottom: var(--rx-padding-sm);
}

p {
    margin-bottom: var(--rx-padding-md);
    max-width: 65ch;
}

a {
    color: var(--rx-primary);
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--rx-secondary);
}

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

/* Utility Classes */
.rx-container {
    max-width: var(--rx-container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--rx-padding-md);
    padding-right: var(--rx-padding-md);
}

.rx-section {
    padding-top: var(--rx-padding-section-desktop);
    padding-bottom: var(--rx-padding-section-desktop);
    position: relative;
}

.rx-section-alt {
    background-color: var(--rx-surface);
    padding-top: var(--rx-padding-section-desktop);
    padding-bottom: var(--rx-padding-section-desktop);
    position: relative;
}

.rx-grid {
    display: grid;
    gap: var(--rx-padding-lg);
}

.rx-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rx-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.rx-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.rx-flex {
    display: flex;
    align-items: center;
    gap: var(--rx-padding-md);
}

.rx-text-center {
    text-align: center;
}

/* Icons */
.rx-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: inline-block;
    vertical-align: middle;
}

.rx-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--rx-padding-xl);
    height: var(--rx-padding-xl);
    border-radius: var(--rx-border-radius-card);
    background-color: var(--rx-muted);
    color: var(--rx-primary);
    flex-shrink: 0;
}

.rx-icon-large {
    width: 48px;
    height: 48px;
}

/* Buttons */
.rx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--rx-padding-sm) var(--rx-padding-md);
    border-radius: var(--rx-border-radius-button);
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.rx-button-primary {
    background-color: var(--rx-primary);
    color: var(--rx-background);
}

.rx-button-primary:hover {
    background-color: var(--rx-secondary);
    transform: translateY(-2px);
    box-shadow: var(--rx-shadow-hover);
}

.rx-button-secondary {
    background-color: var(--rx-muted);
    color: var(--rx-text);
}

.rx-button-secondary:hover {
    background-color: var(--rx-primary);
    color: var(--rx-background);
    transform: translateY(-2px);
    box-shadow: var(--rx-shadow-hover);
}

.rx-button-outline {
    background-color: transparent;
    border-color: var(--rx-primary);
    color: var(--rx-primary);
}

.rx-button-outline:hover {
    background-color: var(--rx-primary);
    color: var(--rx-background);
    transform: translateY(-2px);
    box-shadow: var(--rx-shadow-hover);
}

.rx-link {
    display: inline-flex;
    align-items: center;
    color: var(--rx-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rx-link:hover {
    color: var(--rx-secondary);
    text-decoration-color: var(--rx-secondary);
}

/* Header & Navigation */
.rx-header {
    background-color: var(--rx-background);
    padding: var(--rx-padding-md) 0;
    border-bottom: 1px solid var(--rx-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.rx-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rx-logo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rx-primary);
}

.rx-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.rx-nav-item {
    margin-left: var(--rx-padding-lg);
}

.rx-nav-link {
    color: var(--rx-text);
    font-weight: 500;
    padding: var(--rx-padding-xs) 0;
    position: relative;
}

.rx-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--rx-primary);
    transition: width 0.3s ease;
}

.rx-nav-link:hover::after {
    width: 100%;
}

.rx-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--rx-text);
}

#rx-cart-count {
    background-color: var(--rx-accent);
    color: #595959;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -12px;
    line-height: 1;
}

/* Hero Section */
.rx-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--rx-padding-section-desktop) 0;
}

.rx-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--rx-padding-xxl);
}

.rx-hero-image {
    background-color: var(--rx-muted);
    height: 100%;
    min-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--rx-border-radius-image);
}

.rx-hero-text {
    padding-top: var(--rx-padding-xxl);
    padding-bottom: var(--rx-padding-xxl);
}

.rx-hero-subtitle {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    line-height: 1.6;
    color: var(--rx-text);
    margin-top: var(--rx-padding-md);
    margin-bottom: var(--rx-padding-xl);
    max-width: 55ch;
}

.rx-hero-cta-group {
    display: flex;
    gap: var(--rx-padding-md);
    align-items: center;
    margin-top: var(--rx-padding-md);
}

.rx-hero-trust-microcopy {
    font-size: 0.9rem;
    color: var(--rx-muted);
    margin-top: var(--rx-padding-sm);
}

/* Cards */
.rx-card {
    background-color: var(--rx-surface);
    border-radius: var(--rx-border-radius-card);
    box-shadow: var(--rx-shadow-light);
    padding: var(--rx-padding-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.rx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rx-shadow-hover);
}

.rx-card-feature {
    text-align: center;
}

.rx-card-feature .rx-icon-large {
    color: var(--rx-primary);
    margin-bottom: var(--rx-padding-sm);
    width: 48px;
    height: 48px;
}

.rx-card-service {
    display: flex;
    align-items: flex-start;
    gap: var(--rx-padding-md);
}

.rx-card-process {
    text-align: center;
}

.rx-card-process .rx-icon-wrapper {
    margin-bottom: var(--rx-padding-sm);
}

.rx-check-list {
    list-style: none;
    padding: 0;
    margin: var(--rx-padding-sm) 0;
}

.rx-check-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--rx-padding-sm);
    font-size: 1rem;
    color: var(--rx-text);
}

.rx-check-item .rx-icon {
    color: var(--rx-primary);
    width: 20px;
    height: 20px;
    margin-right: var(--rx-padding-xs);
    flex-shrink: 0;
}

/* Editorial Moments */
.rx-pullquote {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    margin: var(--rx-padding-xxl) auto;
    max-width: 70ch;
    position: relative;
    color: var(--rx-text);
}

.rx-pullquote::before {
    content: '“';
    font-size: 6rem;
    font-family: serif;
    position: absolute;
    left: -1rem;
    top: -2rem;
    color: var(--rx-muted);
    opacity: 0.3;
    line-height: 1;
    z-index: 0;
}

.rx-pullquote cite {
    display: block;
    margin-top: var(--rx-padding-md);
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    color: var(--rx-secondary);
}

.rx-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--rx-padding-lg);
    text-align: center;
    margin-top: var(--rx-padding-xl);
}

.rx-stat-item {
    padding: var(--rx-padding-md);
}

.rx-stat-number {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--rx-primary);
    line-height: 1;
    margin-bottom: var(--rx-padding-xs);
}

.rx-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--rx-muted);
    letter-spacing: 0.05em;
}

/* Testimonials */
.rx-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--rx-padding-lg);
}

.rx-testimonial-card {
    background-color: var(--rx-surface);
    border-radius: var(--rx-border-radius-card);
    box-shadow: var(--rx-shadow-light);
    padding: var(--rx-padding-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rx-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rx-shadow-hover);
}

.rx-testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--rx-padding-md);
}

.rx-testimonial-cite {
    display: flex;
    align-items: center;
    margin-top: auto;
    font-weight: 500;
    color: var(--rx-text);
}

.rx-testimonial-cite img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: var(--rx-padding-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.rx-testimonial-stars {
    display: flex;
    margin-bottom: var(--rx-padding-sm);
}

.rx-testimonial-stars .rx-icon {
    color: var(--rx-accent);
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

/* FAQ */
.rx-faq-item {
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-border-radius-card);
    margin-bottom: var(--rx-padding-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.rx-faq-q {
    background-color: var(--rx-surface);
    padding: var(--rx-padding-md);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--rx-text);
}

.rx-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.rx-faq-item.active .rx-faq-q::after {
    transform: rotate(45deg);
}

.rx-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--rx-background);
    padding: 0 var(--rx-padding-md);
    color: var(--rx-text);
}

.rx-faq-item.active .rx-faq-a {
    max-height: 500px; /* Arbitrary large value to allow content to expand */
    padding-top: var(--rx-padding-sm);
    padding-bottom: var(--rx-padding-md);
}

/* CTA Section */
.rx-cta {
    background-color: var(--rx-primary);
    color: var(--rx-background);
    padding: var(--rx-padding-section-desktop) 0;
    text-align: center;
}

.rx-cta-content h2 {
    color: var(--rx-background);
    margin-bottom: var(--rx-padding-md);
}

.rx-cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--rx-padding-xl);
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.rx-cta .rx-button-primary {
    background-color: var(--rx-accent);
    color: var(--rx-text);
}

.rx-cta .rx-button-primary:hover {
    background-color: var(--rx-background);
    color: var(--rx-primary);
}

/* Form Styling */
.rx-contact-form {
    display: grid;
    gap: var(--rx-padding-md);
    max-width: 600px;
    margin: 0 auto;
}

.rx-form-group {
    margin-bottom: var(--rx-padding-sm);
}

.rx-form-label {
    display: block;
    margin-bottom: var(--rx-padding-xs);
    font-weight: 500;
    color: var(--rx-text);
}

.rx-form-input, .rx-form-textarea {
    width: 100%;
    padding: var(--rx-padding-sm);
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-border-radius-button);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    color: var(--rx-text);
    background-color: var(--rx-surface);
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rx-form-input:focus, .rx-form-textarea:focus {
    outline: none;
    border-color: var(--rx-primary);
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.2);
}

.rx-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.rx-form-error {
    color: #a40e0e;
    font-size: 0.9rem;
    margin-top: var(--rx-padding-xs);
    display: none;
}

.rx-form-success {
    background-color: #dcfce7;
    color: #117e39;
    padding: var(--rx-padding-md);
    border-radius: var(--rx-border-radius-button);
    text-align: center;
    display: none;
}

/* Footer */
.rx-footer {
    background-color: var(--rx-text);
    color: var(--rx-background);
    padding-top: var(--rx-padding-section-desktop);
    padding-bottom: var(--rx-padding-md);
}

.rx-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--rx-padding-xxl);
    margin-bottom: var(--rx-padding-xxl);
}

.rx-footer-col h3 {
    color: var(--rx-background);
    margin-bottom: var(--rx-padding-md);
}

.rx-footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rx-muted);
    margin-bottom: var(--rx-padding-sm);
}

.rx-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rx-footer-list li {
    margin-bottom: var(--rx-padding-xs);
}

.rx-footer-link {
    color: var(--rx-muted);
    font-size: 0.95rem;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rx-footer-link:hover {
    color: var(--rx-accent);
    text-decoration: underline;
}

.rx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--rx-padding-md);
    text-align: center;
    font-size: 0.85rem;
    color: var(--rx-muted);
}

.rx-social-links {
    display: flex;
    gap: var(--rx-padding-sm);
    margin-top: var(--rx-padding-sm);
}

.rx-social-links .rx-icon {
    color: var(--rx-muted);
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rx-social-links .rx-icon:hover {
    color: var(--rx-accent);
}

/* Animations */
.rx-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rx-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .rx-container {
        padding-left: var(--rx-padding-lg);
        padding-right: var(--rx-padding-lg);
    }

    .rx-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--rx-background);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: var(--rx-padding-md) 0;
        transition: all 0.3s ease-in-out;
        max-height: 0;
        overflow: hidden;
    }

    .rx-nav-list.active {
        display: flex;
        max-height: 200px; /* Adjust as needed */
    }

    .rx-nav-item {
        margin: var(--rx-padding-sm) 0;
        text-align: center;
    }

    .rx-mobile-toggle {
        display: block;
    }

    .rx-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rx-hero-text {
        order: 2;
        padding-top: var(--rx-padding-lg);
        padding-bottom: var(--rx-padding-lg);
    }

    .rx-hero-image {
        order: 1;
        min-height: 300px;
    }

    .rx-hero-cta-group {
        justify-content: center;
    }

    .rx-section,
    .rx-section-alt {
        padding-top: var(--rx-padding-xxl);
        padding-bottom: var(--rx-padding-xxl);
    }

    .rx-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1.0625rem; /* 17px */
    }
    h1, .rx-h1 {
        font-size: clamp(2.2rem, 6vw, 3.5rem);
    }
    h2, .rx-h2 {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    }
    .rx-section,
    .rx-section-alt {
        padding-top: var(--rx-padding-xxl);
        padding-bottom: var(--rx-padding-xxl);
    }
    .rx-pullquote::before {
        font-size: 5rem;
        left: 0;
        top: -1.5rem;
    }
}

@media (max-width: 480px) {
    .rx-container {
        padding-left: var(--rx-padding-md);
        padding-right: var(--rx-padding-md);
    }

    .rx-hero-cta-group {
        flex-direction: column;
    }

    .rx-button {
        width: 100%;
    }

    .rx-section,
    .rx-section-alt {
        padding-top: var(--rx-padding-section-mobile);
        padding-bottom: var(--rx-padding-section-mobile);
    }

    .rx-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--rx-padding-xl);
    }

    .rx-stats {
        grid-template-columns: 1fr;
    }
    .rx-stat-item:not(:last-child) {
        border-bottom: 1px solid var(--rx-border);
    }
    .rx-testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* === Quality polish === */
.rx-card, [class*="rx-card"] { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease; }
.rx-card:hover, [class*="rx-card"]:hover { transform: scale(1.02); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }

button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

@keyframes rxFadeInUp { from { opacity:0;transform:translateY(20px) } to { opacity: 1; transform: none; } }
.rx-animate { opacity: 0; }
.rx-animate.rx-visible { animation: rxFadeInUp .6s ease forwards; }

/* FAQ collapsed-by-default — hard fallback (any language, any topic) */
.rx-faq-a, [class*="faq-a"], [class*="faq-answer"] { display: none !important; max-height: 0; overflow: hidden; padding: 0 22px; transition: none; }
.rx-faq-item.active .rx-faq-a, [class*="faq-item"].active [class*="faq-a"], [class*="faq-item"].active [class*="faq-answer"] { display: block !important; max-height: none !important; padding: 0 22px 18px; }
.rx-faq-q, [class*="faq-q"], [class*="faq-question"] { cursor: pointer; user-select: none; }
.rx-faq-q *, [class*="faq-q"] * { pointer-events: none; }

/* === PREMIUM SCAFFOLD (class-contract baseline) === */
/* Layout */
.rx-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.rx-section { padding: 96px 0; background: #faf5ff; }
.rx-section-alt { padding: 96px 0; background: color-mix(in srgb, #7e22ce 4%, #faf5ff); }
.rx-grid { display: grid; gap: 32px; }
.rx-grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.rx-grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.rx-grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rx-text-center { text-align: center; }
/* Header / Nav */
.rx-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid color-mix(in srgb, #3b0764 8%, transparent); }
.rx-header > .rx-container, .rx-header .rx-container { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; min-height: 64px; }
.rx-brand, .rx-logo { display: inline-flex; align-items: center; gap: 10px; font-family: Josefin Sans; font-weight: 700; font-size: 1.05rem; line-height: 1; color: #7e22ce; letter-spacing: -0.015em; text-decoration: none; flex-shrink: 0; max-width: 220px; margin-right: 24px; }
.rx-brand-mark { display: inline-flex; color: #7e22ce; flex-shrink: 0; }
.rx-brand-mark svg { display: block; width: 24px; height: 24px; }
.rx-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; }
.rx-nav-list, .rx-nav-links { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.rx-nav-link { color: #3b0764; font-weight: 500; font-size: 0.95rem; padding: 6px 0; position: relative; text-decoration: none; }
.rx-nav-link + .rx-nav-link { margin-left: 0; }
.rx-nav-link:hover { color: #7e22ce; }
.rx-mobile-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; margin-left: auto; font-size: 1.4rem; line-height: 1; }
/* Hero */
.rx-hero { padding: 112px 0 96px; background: radial-gradient(circle at 82% 18%, color-mix(in srgb, #7e22ce 12%, transparent), transparent 34%), linear-gradient(180deg, color-mix(in srgb, #7e22ce 7%, #faf5ff) 0%, #faf5ff 100%); position: relative; overflow: hidden; }
/* Hero hardening — kill AI-generated giant ghost/background text & accidental absolute-positioned mockups */
.rx-hero [class*="ghost"], .rx-hero [class*="bg-text"], .rx-hero [class*="watermark"], .rx-hero [class*="hero-bg"], .rx-hero [aria-hidden="true"][class*="text"], .rx-hero [data-decorative="true"] { display: none !important; }
.rx-hero .rx-hero-image, .rx-hero .rx-dashboard-mockup { position: relative !important; }
.rx-hero .rx-hero-image { max-width: 100%; }
.rx-hero .rx-hero-image > * { max-width: 100%; }
.rx-hero .rx-stats { position: static !important; }
.rx-hero > .rx-container { max-width: 1200px; }
.rx-hero h1, .rx-hero .rx-h1 { font-family: Josefin Sans; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; color: #3b0764; margin: 0; max-width: 720px; width: 100%; text-wrap: balance; word-break: normal; overflow-wrap: break-word; hyphens: none; }
.rx-hero p, .rx-hero .rx-hero-sub, .rx-hero .rx-hero-subtitle { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.7; color: #c084fc; max-width: 48ch; margin: 0; }
.rx-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr); gap: 72px; align-items: center; }
.rx-hero-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.rx-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.rx-hero-image { position: relative; }
.rx-hero-image::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; background: color-mix(in srgb, #7e22ce 12%, transparent); z-index: 0; }
.rx-hero-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 36px 90px -34px rgba(0,0,0,0.42), 0 2px 10px rgba(0,0,0,0.08); }
.rx-hero-subtitle { font-size: 1.25rem; line-height: 1.6; color: #c084fc; max-width: 60ch; }
.rx-h1 { font-family: Josefin Sans; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; color: #3b0764; margin: 0; }
.rx-h2 { font-family: Josefin Sans; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; color: #3b0764; margin: 0 0 24px; }
.rx-h3 { font-family: Josefin Sans; font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: #3b0764; margin: 0 0 12px; }
.rx-subheading { font-size: 1.125rem; line-height: 1.7; color: #c084fc; max-width: 720px; margin: 0 auto 64px; }
/* Buttons */
.rx-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; line-height: 1; }
.rx-button-primary { background: #7e22ce; color: #fff; border-color: #7e22ce; }
.rx-button-primary:hover { background: #581c87; border-color: #581c87; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -8px color-mix(in srgb, #7e22ce 50%, transparent); }
.rx-button-secondary { background: #581c87; color: #fff; border-color: #581c87; }
.rx-button-secondary:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.rx-button-outline { background: transparent; color: #7e22ce; border-color: #7e22ce; }
.rx-button-outline:hover { background: #7e22ce; color: #fff; }
.rx-link { color: #7e22ce; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.rx-link:hover { gap: 10px; }
/* Cards */
.rx-card { background: #fff; border: 1px solid color-mix(in srgb, #3b0764 6%, transparent); border-radius: 14px; padding: 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 16px; }
.rx-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06); }
.rx-card-feature, .rx-card-service, .rx-card-process { text-align: left; }
/* Icons */
.rx-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: color-mix(in srgb, #7e22ce 10%, transparent); color: #7e22ce; }
.rx-icon-wrapper svg, .rx-icon-wrapper .rx-icon { width: 28px; height: 28px; stroke: #7e22ce; }
.rx-icon { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
.rx-icon-large { width: 48px; height: 48px; stroke: #7e22ce; }
/* Check list */
.rx-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.rx-check-item { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.rx-check-item .rx-icon { color: #7e22ce; margin-top: 4px; }
/* Editorial */
.rx-pullquote { font-family: Josefin Sans; font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.4; color: #3b0764; max-width: 900px; margin: 64px auto; padding: 0 32px; position: relative; text-align: center; }
.rx-pullquote::before { content: '"'; font-size: 6rem; line-height: 0.8; color: #7e22ce; opacity: 0.3; position: absolute; left: 0; top: -16px; }
.rx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px; padding: 64px 0; }
.rx-stat-item { text-align: center; }
.rx-stat-number { display: block; font-family: Josefin Sans; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: #7e22ce; line-height: 1; letter-spacing: -0.03em; }
.rx-stat-label { display: block; margin-top: 12px; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #c084fc; }
/* Testimonials */
.rx-testimonial-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rx-testimonial-card { background: #fff; padding: 32px; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid color-mix(in srgb, #3b0764 6%, transparent); }
.rx-testimonial-quote { font-style: italic; line-height: 1.7; color: #3b0764; margin-bottom: 16px; }
.rx-testimonial-cite { font-weight: 600; color: #7e22ce; font-size: 0.95rem; }
.rx-testimonial-stars { color: #fb923c; margin-bottom: 12px; }
/* FAQ */
.rx-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.rx-faq-item { background: #fff; border: 1px solid color-mix(in srgb, #3b0764 8%, transparent); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s ease; }
.rx-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.rx-faq-q { padding: 20px 24px; cursor: pointer; user-select: none; font-weight: 600; color: #3b0764; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rx-faq-q::after { content: '+'; font-size: 1.5rem; color: #7e22ce; transition: transform 0.3s ease; flex-shrink: 0; }
.rx-faq-item.active .rx-faq-q::after { transform: rotate(45deg); }
/* CTA */
.rx-cta { padding: 96px 0; background: linear-gradient(135deg, #7e22ce 0%, #581c87 100%); color: #fff; text-align: center; }
.rx-cta .rx-h2, .rx-cta h2 { color: #fff; }
.rx-cta-content { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.rx-cta .rx-button-primary { background: #fff; color: #7e22ce; border-color: #fff; }
.rx-cta .rx-button-primary:hover { background: #faf5ff; color: #7e22ce; }
/* Form */
.rx-form, .rx-contact-form { display: flex; flex-direction: column; gap: 20px; width: min(100%, 680px); margin: 32px auto 0; background: #fff; padding: 44px; border-radius: 24px; border: 1px solid color-mix(in srgb, #3b0764 7%, transparent); box-shadow: 0 30px 80px -34px rgba(0,0,0,0.32), 0 10px 28px -18px color-mix(in srgb, #7e22ce 40%, transparent); text-align: left; color: #3b0764; }
.rx-form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .rx-form-row { grid-template-columns: 1fr; } }
.rx-form-group { display: flex; flex-direction: column; gap: 8px; }
.rx-form-label, .rx-form label { font-weight: 600; font-size: 0.9rem; color: #3b0764; letter-spacing: 0.01em; }
.rx-form-input, .rx-form-textarea, .rx-form input:not([type="submit"]), .rx-form textarea, .rx-form select { padding: 15px 16px; border: 1.5px solid color-mix(in srgb, #3b0764 12%, transparent); border-radius: 12px; font-size: 1rem; font-family: inherit; background: color-mix(in srgb, #7e22ce 2%, #fff); color: #3b0764; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; width: 100%; box-sizing: border-box; }
.rx-form-input:hover, .rx-form-textarea:hover { border-color: color-mix(in srgb, #7e22ce 35%, transparent); }
.rx-form-input:focus, .rx-form-textarea:focus, .rx-form input:focus, .rx-form textarea:focus { outline: none; border-color: #7e22ce; box-shadow: 0 0 0 4px color-mix(in srgb, #7e22ce 18%, transparent); }
.rx-form-textarea, .rx-form textarea { min-height: 140px; resize: vertical; }
/* Form messages — HIDDEN BY DEFAULT, only shown when JS adds .is-visible or removes [hidden] */
.rx-form-error, [class*="form-error"], [class*="form-message-error"] { display: none; color: #dc2626; font-size: 0.875rem; padding: 10px 12px; background: color-mix(in srgb, #dc2626 8%, transparent); border-radius: 8px; }
.rx-form-success, [class*="form-success"], [class*="form-message-success"] { display: none; color: #047857; font-weight: 600; padding: 12px 14px; background: color-mix(in srgb, #059669 10%, transparent); border-radius: 8px; }
.rx-form-error[hidden], .rx-form-success[hidden], [class*="form-error"][hidden], [class*="form-success"][hidden] { display: none !important; }
.rx-form-error.is-visible, .rx-form-success.is-visible { display: block; }
.rx-cta .rx-form, .rx-cta .rx-contact-form { color: #3b0764; }
.rx-cta .rx-form button[type="submit"], .rx-cta .rx-contact-form button[type="submit"] { background: #7e22ce; color: #fff; border-color: #7e22ce; }
/* Footer */
.rx-footer { background: #3b0764; color: color-mix(in srgb, #fff 80%, transparent); padding: 96px 0 32px; }
.rx-footer .rx-h3, .rx-footer h3, .rx-footer h4 { color: #fff; font-family: Josefin Sans; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.rx-footer .rx-logo { color: #fff; }
.rx-footer-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 64px; }
.rx-footer-col { display: flex; flex-direction: column; gap: 12px; }
.rx-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rx-footer-link { color: color-mix(in srgb, #fff 70%, transparent); font-size: 0.95rem; }
.rx-footer-link:hover { color: #fff; }
.rx-footer-bottom { padding-top: 32px; border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); font-size: 0.875rem; color: color-mix(in srgb, #fff 60%, transparent); text-align: center; }
.rx-social-links { display: flex; gap: 16px; }
.rx-social-links a { color: color-mix(in srgb, #fff 70%, transparent); }
.rx-social-links a:hover { color: #fff; }
/* Responsive */
@media (max-width: 900px) {
  .rx-hero { padding: 80px 0 64px; }
  .rx-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .rx-section, .rx-section-alt { padding: 64px 0; }
  .rx-cta { padding: 64px 0; }
  .rx-footer { padding: 64px 0 24px; }
}
@media (max-width: 720px) {
  .rx-nav-list { display: none; }
  .rx-mobile-toggle { display: inline-flex; }
  .rx-nav.active .rx-nav-list, .rx-header.active .rx-nav-list, .rx-nav-list.active, .rx-nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .rx-card { padding: 24px; }
  .rx-form, .rx-contact-form { padding: 28px; border-radius: 18px; }
}

/* === STYLE FAMILY: ecommerce_showcase === */
.rx-hero { min-height: 80vh; background-size: cover; background-position: center; }
.rx-card { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.rx-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.rx-card img { aspect-ratio: 1/1; object-fit: cover; }
.rx-button-primary { background: #7e22ce; color: #fff; border-radius: 999px; padding: 14px 32px; font-weight: 600; }
.rx-section-alt { background: #faf6f0; }