@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --xyg-primary: #9333ea;
    --xyg-secondary: #7e22ce;
    --xyg-accent: #fbbf24;
    --xyg-background: #faf5ff;
    --xyg-text: #581c87;
    --xyg-muted: #d8b4fe;
    --xyg-white: #ffffff;
    --xyg-light-gray: #f0f0f0;
    --xyg-mid-gray: #cccccc;
    --xyg-dark-gray: #333333;
    --xyg-border-color: #e0e0e0;

    --ct-spacing-xs: 8px;
    --ct-spacing-sm: 16px;
    --ct-spacing-md: 24px;
    --ct-spacing-lg: 32px;
    --ct-spacing-xl: 48px;
    --ct-spacing-2xl: 64px;
    --ct-spacing-3xl: 96px;
    --ct-spacing-4xl: 128px;

    --ct-border-radius-sm: 8px;
    --ct-border-radius-md: 12px;
    --ct-border-radius-lg: 16px;

    --ct-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
    --ct-shadow-md: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --ct-shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);

    --ct-transition-speed: 0.25s;
    --ct-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.75;
    color: var(--xyg-text);
    background-color: var(--xyg-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--xyg-accent);
    color: var(--xyg-dark-gray);
}

a {
    color: var(--xyg-secondary);
    text-decoration: none;
    transition: color var(--ct-transition-speed) var(--ct-transition-timing);
}

a:hover {
    color: var(--xyg-primary);
    text-decoration: underline;
}

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    color: var(--xyg-secondary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--ct-spacing-md);
}

.ct-h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--xyg-white);
}

.ct-h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: var(--ct-spacing-lg);
}

.ct-h3 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--ct-spacing-sm);
}

.ct-subheading {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--xyg-muted);
    margin-bottom: var(--ct-spacing-lg);
}

p {
    margin-bottom: var(--ct-spacing-md);
    font-size: 1.0625rem;
    max-width: 65ch;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

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

.ct-section {
    padding-top: var(--ct-spacing-3xl);
    padding-bottom: var(--ct-spacing-3xl);
    position: relative;
}

.ct-section-alt {
    background-color: var(--xyg-light-gray);
    padding-top: var(--ct-spacing-3xl);
    padding-bottom: var(--ct-spacing-3xl);
}

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

.ct-grid {
    display: grid;
    gap: var(--ct-spacing-lg);
}

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

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

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

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

.ct-flex-col {
    flex-direction: column;
}

.ct-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.ct-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ct-spacing-xl);
    height: var(--ct-spacing-xl);
    border-radius: var(--ct-border-radius-sm);
    background-color: var(--xyg-muted);
    color: var(--xyg-primary);
    margin-bottom: var(--ct-spacing-sm);
}

.ct-icon-large {
    width: 48px;
    height: 48px;
    color: var(--xyg-primary);
    margin-bottom: var(--ct-spacing-sm);
}

/* Buttons */
.ct-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--ct-spacing-sm) var(--ct-spacing-lg);
    border-radius: var(--ct-border-radius-sm);
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
    text-decoration: none;
    border: 2px solid transparent;
}

.ct-button-primary {
    background-color: var(--xyg-primary);
    color: var(--xyg-white);
}

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

.ct-button-secondary {
    background-color: var(--xyg-accent);
    color: var(--xyg-text);
}

.ct-button-secondary:hover {
    background-color: darken(var(--xyg-accent), 10%);
    transform: translateY(-2px);
    box-shadow: var(--ct-shadow-sm);
}

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

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

.ct-link {
    color: var(--xyg-primary);
    text-decoration: none;
    transition: color var(--ct-transition-speed) var(--ct-transition-timing), transform var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-link:hover {
    color: var(--xyg-secondary);
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Header & Navigation */
.ct-header {
    background-color: var(--xyg-white);
    padding: var(--ct-spacing-md) 0;
    box-shadow: var(--ct-shadow-sm);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.ct-logo {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--xyg-primary);
    text-decoration: none;
    margin-right: auto;
}

.ct-nav-list {
    list-style: none;
    display: flex;
    gap: var(--ct-spacing-lg);
}

.ct-nav-link {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    color: var(--xyg-text);
    padding: var(--ct-spacing-xs) 0;
    position: relative;
}

.ct-nav-link:hover {
    color: var(--xyg-primary);
    text-decoration: none;
}

.ct-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--ct-spacing-lg);
    cursor: pointer;
    color: var(--xyg-text);
    z-index: 1001;
}

/* Hero Section */
.ct-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--xyg-white);
    text-align: center;
    padding: var(--ct-spacing-4xl) 0;
    background-color: var(--xyg-secondary);
    overflow: hidden;
    isolation: isolate;
}

.ct-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.8) 0%, rgba(126, 34, 206, 0.9) 100%);
    z-index: -1;
}

.ct-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ct-hero-text {
    margin-bottom: var(--ct-spacing-lg);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
}

/* Cards */
.ct-card {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-md);
    padding: var(--ct-spacing-lg);
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.ct-card-feature {
    text-align: center;
    padding: var(--ct-spacing-xl);
}

.ct-card-service {
    text-align: left;
    border-top: 5px solid var(--xyg-primary);
    overflow: hidden;
    position: relative;
}

.ct-card-service img {
    border-radius: var(--ct-border-radius-sm);
    margin-bottom: var(--ct-spacing-md);
}

.ct-card-process {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ct-check-list {
    list-style: none;
    padding: 0;
    margin-top: var(--ct-spacing-md);
}

.ct-check-item {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--ct-spacing-sm);
    font-size: 1rem;
}

.ct-check-item .ct-icon {
    margin-right: var(--ct-spacing-xs);
    color: var(--xyg-primary);
    flex-shrink: 0;
}

/* Editorial Moments */
.ct-pullquote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    text-align: center;
    margin: var(--ct-spacing-3xl) auto;
    max-width: 800px;
    position: relative;
    color: var(--xyg-text);
}

.ct-pullquote::before {
    content: '“';
    font-family: 'Merriweather', serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--xyg-muted);
    position: absolute;
    top: -var(--ct-spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.2;
}

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

.ct-stat-item {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-sm);
    padding: var(--ct-spacing-lg);
}

.ct-stat-number {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--xyg-primary);
    line-height: 1;
    margin-bottom: var(--ct-spacing-xs);
}

.ct-stat-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--xyg-text);
    font-weight: 500;
}

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

.ct-testimonial-card {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-md);
    padding: var(--ct-spacing-lg);
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.ct-testimonial-quote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--ct-spacing-md);
    color: var(--xyg-text);
    flex-grow: 1;
}

.ct-testimonial-cite {
    font-weight: 700;
    color: var(--xyg-secondary);
    margin-top: var(--ct-spacing-sm);
    display: block;
}

.ct-testimonial-stars {
    color: var(--xyg-accent);
    margin-bottom: var(--ct-spacing-sm);
    display: flex;
    gap: 4px;
}

.ct-testimonial-stars .ct-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

/* FAQ Section */
.ct-faq {
    margin-top: var(--ct-spacing-xl);
}

.ct-faq-item {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-sm);
    margin-bottom: var(--ct-spacing-sm);
    overflow: hidden;
}

.ct-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ct-spacing-md);
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--xyg-secondary);
    transition: background-color var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-faq-q:hover {
    background-color: var(--xyg-background);
}

.ct-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform var(--ct-transition-speed) var(--ct-transition-timing);
}

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

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 var(--ct-spacing-md);
    color: var(--xyg-text);
}

.ct-faq-item.active .ct-faq-a {
    max-height: 500px; /* Adjust as needed for content */
    padding-bottom: var(--ct-spacing-md);
}

.ct-faq-a p {
    margin-bottom: 0;
}

/* CTA Section */
.ct-cta {
    background-color: var(--xyg-primary);
    color: var(--xyg-white);
    padding: var(--ct-spacing-3xl) 0;
    text-align: center;
}

.ct-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.ct-cta-content .ct-h2, .ct-cta-content .ct-h3 {
    color: inherit;
    margin-bottom: var(--ct-spacing-lg);
}

.ct-cta-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--ct-spacing-xl);
    color: var(--xyg-white);
}

/* Forms */
.ct-contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--xyg-white);
    padding: var(--ct-spacing-xl);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-md);
}

.ct-form-group {
    margin-bottom: var(--ct-spacing-md);
}

.ct-form-label {
    display: block;
    margin-bottom: var(--ct-spacing-xs);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    color: var(--xyg-secondary);
}

.ct-form-input, .ct-form-textarea {
    width: 100%;
    padding: var(--ct-spacing-sm);
    border: 1px solid var(--xyg-border-color);
    border-radius: var(--ct-border-radius-sm);
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    color: var(--xyg-text);
    transition: border-color var(--ct-transition-speed) var(--ct-transition-timing), box-shadow var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-form-input:focus, .ct-form-textarea:focus {
    border-color: var(--xyg-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

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

.ct-form-error {
    color: #a40e0e;
    font-size: 0.875rem;
    margin-top: var(--ct-spacing-xs);
    display: block;
}

.ct-form-success {
    background-color: #dcfce7;
    color: #117e39;
    padding: var(--ct-spacing-sm);
    border-radius: var(--ct-border-radius-sm);
    margin-top: var(--ct-spacing-md);
    text-align: center;
    font-weight: 500;
}

/* Footer */
.ct-footer {
    background-color: var(--xyg-dark-gray);
    color: var(--xyg-white);
    padding-top: var(--ct-spacing-3xl);
    padding-bottom: var(--ct-spacing-md);
    font-size: 0.9375rem;
}

.ct-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ct-spacing-xl);
    padding-bottom: var(--ct-spacing-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-footer-col h3 {
    color: var(--xyg-accent);
    font-size: 1.125rem;
    margin-bottom: var(--ct-spacing-md);
}

.ct-footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--ct-spacing-sm);
}

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

.ct-footer-list li {
    margin-bottom: var(--ct-spacing-xs);
}

.ct-footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--ct-transition-speed) var(--ct-transition-timing);
}

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

.ct-footer-bottom {
    text-align: center;
    padding-top: var(--ct-spacing-md);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.ct-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ct-transition-timing), transform 0.6s var(--ct-transition-timing);
}

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

/* Ecommerce Showcase Specifics */
.ct-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ct-spacing-lg);
}

.ct-product-card {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-md);
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.ct-product-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.ct-product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--ct-border-radius-md) var(--ct-border-radius-md) 0 0;
    transition: transform 0.5s ease;
}

.ct-product-card:hover img {
    transform: scale(1.05);
}

.ct-product-card-content {
    padding: var(--ct-spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ct-product-card-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--ct-spacing-xs);
    color: var(--xyg-secondary);
}

.ct-product-card-price {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--xyg-primary);
    margin-top: var(--ct-spacing-sm);
    margin-bottom: var(--ct-spacing-sm);
    letter-spacing: -0.02em;
}

.ct-product-card-button {
    margin-top: auto;
    width: 100%;
    background-color: var(--xyg-accent);
    color: var(--xyg-text);
    border: none;
    padding: var(--ct-spacing-sm);
    border-radius: var(--ct-border-radius-sm);
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--ct-transition-speed) var(--ct-transition-timing), transform var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-product-card-button:hover {
    background-color: darken(var(--xyg-accent), 15%);
    transform: translateY(-2px);
}

.ct-hero-product-card-overlay {
    position: absolute;
    bottom: var(--ct-spacing-md);
    left: var(--ct-spacing-md);
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--ct-spacing-md);
    border-radius: var(--ct-border-radius-md);
    text-align: left;
    max-width: 350px;
    box-shadow: var(--ct-shadow-lg);
}

.ct-hero-product-card-overlay .ct-h3 {
    color: var(--xyg-secondary);
    margin-bottom: var(--ct-spacing-xs);
}

.ct-hero-product-card-overlay .ct-product-card-price {
    color: var(--xyg-primary);
    font-size: 1.8rem;
    margin: var(--ct-spacing-xs) 0 var(--ct-spacing-sm);
}

.ct-hero-product-card-overlay .ct-button {
    width: 100%;
}

.ct-reviews-section {
    background-color: var(--xyg-background);
}

.ct-review-card {
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-sm);
    padding: var(--ct-spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ct-spacing-sm);
}

.ct-review-stars {
    color: var(--xyg-accent);
    display: flex;
    gap: 2px;
}

.ct-review-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--xyg-text);
    flex-grow: 1;
}

.ct-review-author {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: var(--xyg-secondary);
    margin-top: var(--ct-spacing-sm);
}

.ct-category-strip {
    background-color: var(--xyg-light-gray);
    padding: var(--ct-spacing-lg) 0;
    text-align: center;
    margin-top: var(--ct-spacing-3xl);
    margin-bottom: var(--ct-spacing-3xl);
}

.ct-category-strip .ct-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.ct-category-link {
    display: block;
    padding: var(--ct-spacing-sm);
    background-color: var(--xyg-white);
    border-radius: var(--ct-border-radius-sm);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    color: var(--xyg-text);
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-category-link:hover {
    background-color: var(--xyg-primary);
    color: var(--xyg-white);
    transform: translateY(-2px);
    box-shadow: var(--ct-shadow-sm);
    text-decoration: none;
}

.ct-sticky-button-container {
    position: fixed;
    bottom: var(--ct-spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - var(--ct-spacing-lg) * 2);
    max-width: 400px;
    display: none; /* Hidden by default, shown by JS on scroll or for certain sections */
}

.ct-sticky-button {
    width: 100%;
    padding: var(--ct-spacing-md);
    font-size: 1.125rem;
    background-color: var(--xyg-primary);
    color: var(--xyg-white);
    border: none;
    border-radius: var(--ct-border-radius-md);
    box-shadow: var(--ct-shadow-lg);
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--ct-transition-speed) var(--ct-transition-timing);
}

.ct-sticky-button:hover {
    background-color: var(--xyg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .ct-nav-list {
        gap: var(--ct-spacing-md);
    }

    .ct-h1 {
        font-size: clamp(2.2rem, 6vw, 3.8rem);
    }

    .ct-h2 {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }

    .ct-section {
        padding-top: var(--ct-spacing-2xl);
        padding-bottom: var(--ct-spacing-2xl);
    }

    .ct-section-alt {
        padding-top: var(--ct-spacing-2xl);
        padding-bottom: var(--ct-spacing-2xl);
    }

    .ct-hero-content {
        padding-left: var(--ct-spacing-md);
        padding-right: var(--ct-spacing-md);
    }

    .ct-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: var(--ct-spacing-lg);
    }
}

@media (max-width: 768px) {
    .ct-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--xyg-white);
        position: absolute;
        top: 100%;
        left: 0;
        padding: var(--ct-spacing-md) 0;
        box-shadow: var(--ct-shadow-sm);
    }

    .ct-nav-list.active {
        display: flex;
    }

    .ct-nav-item {
        width: 100%;
        text-align: center;
    }

    .ct-nav-link {
        display: block;
        padding: var(--ct-spacing-sm) var(--ct-spacing-md);
        border-bottom: 1px solid var(--xyg-border-color);
    }

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

    .ct-hero {
        min-height: 60vh;
        padding: var(--ct-spacing-3xl) 0;
    }

    .ct-hero-product-card-overlay {
        position: static;
        margin: var(--ct-spacing-lg) auto 0 auto;
        max-width: calc(100% - var(--ct-spacing-md) * 2);
    }

    .ct-grid-2, .ct-grid-3, .ct-grid-4 {
        grid-template-columns: 1fr;
    }

    .ct-contact-form {
        padding: var(--ct-spacing-lg);
    }

    .ct-pullquote::before {
        font-size: 6rem;
        top: -var(--ct-spacing-md);
    }

    .ct-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ct-footer-col h3 {
        margin-top: var(--ct-spacing-lg);
    }
    
    .ct-footer-col p, .ct-footer-list {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .ct-h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .ct-h2 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    p {
        font-size: 1rem;
    }

    .ct-section {
        padding-top: var(--ct-spacing-xl);
        padding-bottom: var(--ct-spacing-xl);
    }

    .ct-section-alt {
        padding-top: var(--ct-spacing-xl);
        padding-bottom: var(--ct-spacing-xl);
    }

    .ct-button {
        padding: var(--ct-spacing-xs) var(--ct-spacing-md);
        font-size: 0.9rem;
    }

    .ct-hero-text {
        font-size: 1rem;
    }

    .ct-stat-number {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .ct-pricing-card {
        padding: var(--ct-spacing-lg);
    }

    .ct-contact-form {
        padding: var(--ct-spacing-md);
    }
}


/* === Quality polish === */
@keyframes ctFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ct-animate { opacity: 0; }
.ct-animate.ct-visible { animation: ctFadeInUp 0.6s ease forwards; }

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

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

/* === STYLE FAMILY: ecommerce_showcase === */
.ct-hero { min-height: 80vh; background-size: cover; background-position: center; }
.ct-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; }
.ct-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.ct-card img { aspect-ratio: 1/1; object-fit: cover; }
.ct-button-primary { background: #9333ea; color: #fff; border-radius: 999px; padding: 14px 32px; font-weight: 600; }
.ct-section-alt { background: #faf6f0; }