@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
    /* Colors - Teal Fresh Palette */
    --ngy-primary: #0891b2;
    --ngy-secondary: #0e7490;
    --ngy-accent: #a855f7;
    --ngy-background: #ecfeff;
    --ngy-text: #164e63;
    --ngy-muted: #67e8f9;
    --ngy-dark-background: #0f172a;
    --ngy-light-gray: #f8fafc;
    --ngy-medium-gray: #e2e8f0;
    --ngy-dark-gray: #475569;

    /* Typography */
    --ngy-font-heading: 'Playfair Display', serif;
    --ngy-font-body: 'Source Sans Pro', sans-serif;

    /* Spacing Scale (8pt grid) */
    --ngy-space-xs: 8px;
    --ngy-space-sm: 16px;
    --ngy-space-md: 24px;
    --ngy-space-lg: 32px;
    --ngy-space-xl: 48px;
    --ngy-space-xxl: 64px;
    --ngy-space-xxxl: 96px;
    --ngy-space-xxxxl: 128px;

    /* Border Radius */
    --ngy-radius-button: 12px;
    --ngy-radius-card: 16px;
    --ngy-radius-image: 8px;

     /* Transitions */
    --ngy-transition-ease: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--ngy-font-body);
    line-height: 1.7;
    color: var(--ngy-text);
    background-color: var(--ngy-background);
    -webkit-font-smoothing: antialiased;
    direction: rtl; /* For Arabic text */
    text-align: right;
}

::selection {
    background-color: var(--ngy-primary);
    color: var(--ngy-background);
}

a {
    color: var(--ngy-primary);
    text-decoration: none;
    transition: var(--ngy-transition-ease);
}

a:hover {
    color: var(--ngy-secondary);
    transform: translateY(-2px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ngy-radius-image);
}

/* Typography Scale */
.tp-h1, h1 {
    font-family: var(--ngy-font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* 40px to 72px */
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ngy-secondary);
    margin-bottom: var(--ngy-space-lg);
}

.tp-h2, h2 {
    font-family: var(--ngy-font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem); /* 32px to 48px */
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ngy-secondary);
    margin-bottom: var(--ngy-space-md);
}

.tp-h3, h3 {
    font-family: var(--ngy-font-body);
    font-size: 1.625rem; /* 26px */
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--ngy-secondary);
    margin-bottom: var(--ngy-space-sm);
}

p {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
    margin-bottom: var(--ngy-space-md);
}

p + p {
    margin-top: calc(-1 * var(--ngy-space-sm));
}

/* Editorial body text styling */
.tp-prose-block p {
    max-width: 65ch;
    margin-left: auto; /* For RTL alignment */
    margin-right: auto;
}

.tp-subheading {
    font-size: 1.25rem;
    color: var(--ngy-primary);
    font-weight: 600;
    margin-bottom: var(--ngy-space-sm);
}

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

.tp-section {
    padding-top: var(--ngy-space-xxxl);
    padding-bottom: var(--ngy-space-xxxl);
    background-color: var(--ngy-background);
}

.tp-section-alt {
    padding-top: var(--ngy-space-xxxl);
    padding-bottom: var(--ngy-space-xxxl);
    background-color: var(--ngy-light-gray);
}

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

.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ngy-space-lg);
}

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

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

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

.tp-flex {
    display: flex;
    gap: var(--ngy-space-md);
    align-items: center;
}

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

.tp-justify-center {
    justify-content: center;
}

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

.tp-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--ngy-space-xxl);
    height: var(--ngy-space-xxl);
    background-color: var(--ngy-muted);
    border-radius: var(--ngy-radius-card);
    margin-bottom: var(--ngy-space-sm);
}

.tp-icon-large .tp-icon {
    width: 48px;
    height: 48px;
    color: var(--ngy-primary);
}

/* Buttons */
.tp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--ngy-space-sm) var(--ngy-space-lg);
    border-radius: var(--ngy-radius-button);
    font-weight: 600;
    cursor: pointer;
    transition: var(--ngy-transition-ease);
    text-align: center;
    gap: var(--ngy-space-xs);
    white-space: nowrap;
}

.tp-button-primary {
    background-color: var(--ngy-primary);
    color: var(--ngy-background);
    border: 2px solid var(--ngy-primary);
}

.tp-button-primary:hover {
    background-color: var(--ngy-secondary);
    border-color: var(--ngy-secondary);
    color: var(--ngy-background);
    transform: translateY(-2px);
}

.tp-button-secondary {
    background-color: var(--ngy-accent);
    color: var(--ngy-background);
    border: 2px solid var(--ngy-accent);
}

.tp-button-secondary:hover {
    background-color: #9333ea;
    border-color: #9333ea;
    color: var(--ngy-background);
    transform: translateY(-2px);color:#e6f4f9}

.tp-button-outline {
    background-color: transparent;
    color: var(--ngy-primary);
    border: 2px solid var(--ngy-primary);
}

.tp-button-outline:hover {
    background-color: var(--ngy-primary);
    color: var(--ngy-background);
    transform: translateY(-2px);
}

.tp-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ngy-space-xs);
    color: var(--ngy-primary);
    font-weight: 600;
    transition: var(--ngy-transition-ease);
}

.tp-link:hover {
    color: var(--ngy-secondary);
    transform: translateX(-4px); /* For RTL */
}

/* Header & Navigation */
.tp-header {
    background-color: var(--ngy-background);
    padding: var(--ngy-space-sm) 0;
    border-bottom: 1px solid var(--ngy-medium-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--ngy-space-md);
}

.tp-logo {
    font-family: var(--ngy-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ngy-primary);
    white-space: nowrap;
    text-decoration: none;
}

.tp-nav-list {
    list-style: none;
    display: flex;
    gap: var(--ngy-space-lg);
    align-items: center;
}

.tp-nav-item {
    position: relative;
}

.tp-nav-link {
    color: var(--ngy-text);
    font-weight: 600;
    padding: var(--ngy-space-xs) 0;
    position: relative;
}

.tp-nav-link::after {
    content: '';
    position: absolute;
    right: 0; /* For RTL */
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--ngy-primary);
    transition: var(--ngy-transition-ease);
}

.tp-nav-link:hover::after {
    width: 100%;
    left: 0; /* For RTL expanding from right */
}

.tp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--ngy-primary);
    z-index: 1001;
}

.tp-cart-icon {
    display: flex;
    align-items: center;
    position: relative;
    color: var(--ngy-text);
}

.tp-cart-count {
    background-color: var(--ngy-accent);
    color: var(--ngy-background);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    position: absolute;
    top: -8px;
    left: -8px; /* For RTL */
    min-width: 20px;
    text-align: center;
}

/* Hero Section */
.tp-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ngy-background);
    overflow: hidden;
    padding-top: var(--ngy-space-xxxl);
    padding-bottom: var(--ngy-space-xxxl);
}

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

.tp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, rgba(236, 254, 255, 0.7), rgba(8, 145, 178, 0.4));
    z-index: 2;
}

.tp-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--ngy-dark-background);
    max-width: 800px;
}

.tp-hero-content .tp-h1 {
    color: var(--ngy-dark-background);
    margin-bottom: var(--ngy-space-md);
}

.tp-hero-subtitle {
    font-size: 1.375rem;
    line-height: 1.6;
    color: var(--ngy-dark-gray);
    margin-bottom: var(--ngy-space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tp-hero .tp-button {
    font-size: 1.125rem;
    padding: var(--ngy-space-sm) var(--ngy-space-xxl);
}

/* Cards & Features */
.tp-card {
    background-color: #fff;
    border-radius: var(--ngy-radius-card);
    padding: var(--ngy-space-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    transition: var(--ngy-transition-ease);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.08);
}

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

.tp-card-feature .tp-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.tp-card-service .tp-icon {
    color: var(--ngy-primary);
    width: 40px;
    height: 40px;
    margin-bottom: var(--ngy-space-sm);
}

.tp-check-list {
    list-style: none;
    padding: 0;
    margin-top: var(--ngy-space-md);
}

.tp-check-item {
    display: flex;
    align-items: flex-start;
    gap: var(--ngy-space-xs);
    margin-bottom: var(--ngy-space-sm);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.tp-check-item .tp-icon {
    color: var(--ngy-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px; /* Align icon with text */
}

/* Editorial Moments */
.tp-pullquote {
    font-family: var(--ngy-font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    font-weight: 700;
    color: var(--ngy-secondary);
    line-height: 1.2;
    text-align: center;
    max-width: 900px;
    margin: var(--ngy-space-xxxl) auto;
    position: relative;
    padding: 0 var(--ngy-space-lg);
}

.tp-pullquote::before {
    content: '“';
    font-size: 8rem;
    line-height: 1;
    color: var(--ngy-muted);
    position: absolute;
    top: -40px;
    right: var(--ngy-space-md); /* For RTL */
    z-index: 0;
    opacity: 0.6;
    font-family: var(--ngy-font-heading);
}

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

.tp-stat-item {
    background-color: #fff;
    padding: var(--ngy-space-xl) var(--ngy-space-md);
    border-radius: var(--ngy-radius-card);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.tp-stat-number {
    font-family: var(--ngy-font-heading);
    font-size: clamp(3.5rem, 6vw, 4.5rem); /* 56px to 72px */
    font-weight: 800;
    color: var(--ngy-primary);
    line-height: 1;
    margin-bottom: var(--ngy-space-xs);
}

.tp-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ngy-dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.tp-testimonial-card {
    background-color: #fff;
    border-radius: var(--ngy-radius-card);
    padding: var(--ngy-space-lg);
    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: var(--ngy-space-md);
    height: 100%;
}

.tp-testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--ngy-space-sm);
    border: 3px solid var(--ngy-muted);
}

.tp-testimonial-quote {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--ngy-dark-gray);
    flex-grow: 1;
}

.tp-testimonial-cite {
    font-weight: 700;
    color: var(--ngy-secondary);
    margin-top: var(--ngy-space-sm);
    display: block;
}

.tp-testimonial-cite span {
    font-weight: 400;
    color: var(--ngy-dark-gray);
    display: block;
    font-size: 0.95rem;
}

.tp-testimonial-stars {
    display: flex;
    justify-content: flex-end; /* For RTL */
    gap: 2px;
    color: gold;
    margin-top: var(--ngy-space-sm);
}

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

/* FAQ Section */
.tp-faq-item {
    background-color: #fff;
    border-radius: var(--ngy-radius-card);
    margin-bottom: var(--ngy-space-sm);
    box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    overflow: hidden;
}

.tp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ngy-space-md) var(--ngy-space-lg);
    font-weight: 600;
    color: var(--ngy-secondary);
    cursor: pointer;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
}

.tp-faq-q:hover {
    background-color: var(--ngy-light-gray);
}

.tp-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ngy-primary);
    transition: transform 0.3s ease;
}

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

.tp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--ngy-space-lg);
    font-size: 1.0625rem;
    color: var(--ngy-dark-gray);
}

.tp-faq-item.active .tp-faq-a {
    max-height: 500px; /* Sufficiently large to show content */
    padding-bottom: var(--ngy-space-md);
}

/* CTA Section */
.tp-cta {
    background: linear-gradient(135deg, var(--ngy-primary), var(--ngy-secondary));
    padding: var(--ngy-space-xxxl) 0;
    text-align: center;
    color: var(--ngy-background);
    border-radius: var(--ngy-radius-card);
    margin: var(--ngy-space-xxxl) auto;
    max-width: 1100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tp-cta-content .tp-h2, .tp-cta-content .tp-subheading {
    color: var(--ngy-background);
}

.tp-cta-content p {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--ngy-space-xl);
}

.tp-cta .tp-button-primary {
    background-color: var(--ngy-background);
    color: var(--ngy-primary);
    border-color: var(--ngy-background);
}

.tp-cta .tp-button-primary:hover {
    background-color: var(--ngy-muted);
    border-color: var(--ngy-muted);
    color: var(--ngy-secondary);
}

/* Form Styling */
.tp-contact-form {
    background-color: #fff;
    padding: var(--ngy-space-xl);
    border-radius: var(--ngy-radius-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tp-form-group {
    margin-bottom: var(--ngy-space-md);
}

.tp-form-label {
    display: block;
    margin-bottom: var(--ngy-space-xs);
    font-weight: 600;
    color: var(--ngy-secondary);
    font-size: 0.95rem;
}

.tp-form-input, .tp-form-textarea {
    width: 100%;
    padding: var(--ngy-space-sm);
    border: 1px solid var(--ngy-medium-gray);
    border-radius: var(--ngy-radius-button);
    font-family: var(--ngy-font-body);
    font-size: 1rem;
    color: var(--ngy-text);
    background-color: var(--ngy-light-gray);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tp-form-input:focus, .tp-form-textarea:focus {
    outline: none;
    border-color: var(--ngy-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

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

.tp-form-error {
    color: #a40e0e;
    font-size: 0.9rem;
    margin-top: var(--ngy-space-xs);
    display: block;
}

.tp-form-success {
    background-color: #dcfce7;
    color: #117e39;
    padding: var(--ngy-space-sm);
    border-radius: var(--ngy-radius-button);
    text-align: center;
    font-weight: 600;
    margin-top: var(--ngy-space-md);
    display: none; /* Controlled by JS */
}

/* Product specifics */
.tp-product-card {
    background-color: #fff;
    border-radius: var(--ngy-radius-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    transition: var(--ngy-transition-ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.08);
}

.tp-product-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tp-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--ngy-radius-image) var(--ngy-radius-image) 0 0;
    transition: transform 0.3s ease;
}

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

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

.tp-product-card-title {
    font-family: var(--ngy-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ngy-secondary);
    margin-bottom: var(--ngy-space-xs);
    line-height: 1.3;
}

.tp-product-card-price {
    font-family: var(--ngy-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ngy-primary);
    margin-bottom: var(--ngy-space-sm);
}

.tp-product-card .tp-button {
    margin-top: auto;
    width: 100%;
}

/* Footer */
.tp-footer {
    background-color: var(--ngy-dark-background);
    color: var(--ngy-light-gray);
    padding-top: var(--ngy-space-xxxl);
    padding-bottom: var(--ngy-space-md);
    text-align: right;
}

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

.tp-footer-col h3 {
    color: var(--ngy-muted);
    margin-bottom: var(--ngy-space-md);
    font-size: 1.125rem;
}

.tp-footer-col h3, .tp-logo-footer {
    text-align: right;
}

.tp-footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ngy-medium-gray);
    margin-bottom: var(--ngy-space-sm);
}

.tp-logo-footer {
    font-family: var(--ngy-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ngy-primary);
    white-space: nowrap;
    text-decoration: none;
    display: block;
    margin-bottom: var(--ngy-space-sm);
}

.tp-footer-slogan {
    font-size: 1rem;
    color: var(--ngy-medium-gray);
    line-height: 1.5;
}

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

.tp-footer-list li {
    margin-bottom: var(--ngy-space-xs);
}

.tp-footer-link {
    color: var(--ngy-medium-gray);
    font-size: 0.95rem;
}

.tp-footer-link:hover {
    color: var(--ngy-primary);
    transform: translateX(-4px); /* For RTL */
}

.tp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--ngy-space-md);
    margin-top: var(--ngy-space-md);
    font-size: 0.9rem;
    color: var(--ngy-medium-gray);
    text-align: center;
}

.tp-social-links {
    display: flex;
    gap: var(--ngy-space-sm);
    margin-top: var(--ngy-space-sm);
    justify-content: flex-end; /* For RTL */
}

.tp-social-links a {
    color: var(--ngy-medium-gray);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--ngy-medium-gray);
}

.tp-social-links a:hover {
    color: var(--ngy-primary);
    border-color: var(--ngy-primary);
    background-color: rgba(8, 145, 178, 0.1);
    transform: translateY(-2px);
}

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

.tp-animate {
    opacity: 0;
    /* Initial state for animation */
}

.tp-animate.tp-animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .tp-nav-list {
        gap: var(--ngy-space-md);
    }

    .tp-hero-content .tp-h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .tp-hero-subtitle {
        font-size: 1.125rem;
    }

    .tp-section {
        padding-top: var(--ngy-space-xxl);
        padding-bottom: var(--ngy-space-xxl);
    }

    .tp-section-alt {
        padding-top: var(--ngy-space-xxl);
        padding-bottom: var(--ngy-space-xxl);
    }

    .tp-pullquote {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }

    .tp-pullquote::before {
        font-size: 6rem;
        top: -30px;
    }

    .tp-stat-number {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .tp-cta {
        padding: var(--ngy-space-xxl) var(--ngy-space-md);
    }

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

@media (max-width: 768px) {
    .tp-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--ngy-space-md);
    }

    .tp-logo {
        flex-grow: 1;
        text-align: center;
    }
    
    .tp-mobile-toggle {
        display: block;
        order: -1; /* Move to the beginning */
        margin-left: auto; /* Push to the left for RTL */
    }

    .tp-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--ngy-background);
        padding: var(--ngy-space-md) 0;
        border-top: 1px solid var(--ngy-medium-gray);
        transition: max-height 0.3s ease-out;
        max-height: 0;
        overflow: hidden;
    }

    .tp-nav-list.active {
        max-height: 500px; /* Arbitrary large value */
    }

    .tp-nav-item {
        margin-bottom: var(--ngy-space-sm);
    }

    .tp-nav-link {
        font-size: 1.1rem;
        padding: var(--ngy-space-xs) var(--ngy-space-md);
    }

    .tp-nav-link::after {
        right: 50%;
        transform: translateX(50%);
    }

    .tp-nav-link:hover::after {
        width: 60%;
    }

    .tp-hero-content .tp-h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    p {
        font-size: 1rem;
    }

    .tp-pullquote {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .tp-pullquote::before {
        font-size: 4rem;
        top: -20px;
    }

    .tp-stat-number {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .tp-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tp-footer-col h3, .tp-logo-footer, .tp-footer-slogan {
        text-align: center;
    }

    .tp-social-links {
        justify-content: center;
    }

    .tp-hero-content {
        padding: 0 var(--ngy-space-md);
    }
}

@media (max-width: 480px) {
    .tp-section {
        padding-top: var(--ngy-space-xxl);
        padding-bottom: var(--ngy-space-xxl);
    }

    .tp-section-alt {
        padding-top: var(--ngy-space-xxl);
        padding-bottom: var(--ngy-space-xxl);
    }

    .tp-h1, h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .tp-h2, h2 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .tp-button {
        padding: var(--ngy-space-sm) var(--ngy-space-md);
        font-size: 0.9rem;
    }

    .tp-hero .tp-button {
        padding: var(--ngy-space-sm) var(--ngy-space-xl);
    }

    .tp-form-input, .tp-form-textarea {
        font-size: 0.9rem;
    }

    .tp-pullquote::before {
        font-size: 3rem;
        top: -10px;
    }
}

/* === Quality polish === */
.tp-card, [class*="tp-card"] { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease; }
.tp-card:hover, [class*="tp-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); }

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

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

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