/* ========================================
   TEKRAM Landing Page Styles
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (Variables)
   ======================================== */
:root {
    /* Colors - Slate palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    /* Accent Colors */
    --violet-400: #a78bfa;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --fuchsia-400: #e879f9;
    --fuchsia-500: #d946ef;
    --fuchsia-600: #c026d3;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --rose-500: #f43f5e;
    --red-500: #ef4444;
    --yellow-500: #eab308;
    --green-500: #22c55e;
    --indigo-500: #6366f1;
    --sky-500: #0ea5e9;
    --orange-500: #f97316;
    --teal-500: #14b8a6;
    --pink-500: #ec4899;
    --purple-500: #a855f7;
    --zinc-500: #71717a;
    --blue-500: #3b82f6;
    

    /* Stone palette — warm professional body colours */
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;
    
    /* Page body background — warm charcoal-grey (darker than stone-50) */
    --body-bg: #e8e5e3;
    --section-alt-bg: #ddd9d6;
    --card-bg: #ffffff;
    --card-border: #d6d3d1;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-max: 80rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent horizontal scroll on mobile caused by filter:blur() escaping overflow:hidden */
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--stone-700);
    background: var(--body-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}
/* Logo Images */
.logo-img {
    height: 2.5rem;
    width: auto;
    border-radius: 0.5rem;
}

.footer-logo-img {
    height: 2.5rem;
    width: auto;
    border-radius: 0.5rem;
}

.preview-logo-img {
    height: 5rem;
    width: auto;
    margin: 0 auto 1rem;
    border-radius: 1rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--violet-400), var(--fuchsia-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark {
    background: linear-gradient(to right, var(--violet-600), var(--cyan-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    height: 3.5rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--violet-600), var(--cyan-600));
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--violet-500), var(--cyan-500));
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: var(--stone-900);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    color: var(--stone-600);
}

.btn-ghost:hover {
    color: var(--stone-900);
    background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
    background: var(--section-alt-bg);
    color: var(--stone-900);
}

.btn-dark:hover {
    background: var(--card-bg);
}

.btn-white {
    background: white;
    color: var(--violet-700);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.btn:hover svg.arrow-right {
    transform: translateX(4px);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(232, 229, 227, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-900);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    color: var(--stone-900);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--stone-600);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--stone-900);
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-cta {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    color: var(--stone-900);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: rgba(232, 229, 227, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: var(--stone-600);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: var(--stone-900);
}

.mobile-menu .mobile-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu .btn {
    width: 100%;
    text-align:center;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: inset(0); /* fix: forces proper clipping even when child elements use filter:blur(), preventing layout overflow on mobile */
    background: var(--slate-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden; /* secondary containment for filter:blur() orbs */
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
    top: 25%;
    left: -25%;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.3);
}

.hero-orb-2 {
    bottom: 25%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: rgba(6, 182, 212, 0.3);
    animation-delay: 1s;
}

.hero-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(139, 92, 246, 0.1);
    filter: blur(100px);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 8rem 0 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease forwards;
    max-width: calc(100% - 3rem); /* prevent overflow on very small screens */
    flex-wrap: wrap;
}

.hero-badge .pulse-dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
}

.hero-badge .pulse-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge .pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--emerald-500);
    border-radius: 50%;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-badge span {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-tagline {
    color: var(--violet-400);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease 0.1s forwards;
    opacity: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-400);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.5s ease 0.3s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.5s ease 0.4s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 0.5s ease 0.5s forwards;
    opacity: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-400);
    font-size: 0.875rem;
    min-width: 0;    /* allow shrinking below content width */
    flex-shrink: 1;  /* allow item to shrink so text can wrap */
}

.hero-trust-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--emerald-500);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Preview */
.hero-preview {
    margin-top: 5rem;
    position: relative;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.preview-window {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.1);
}

.preview-chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.preview-dots {
    display: flex;
    gap: 0.375rem;
}

.preview-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.preview-dot-red { background: rgba(239, 68, 68, 0.8); }
.preview-dot-yellow { background: rgba(234, 179, 8, 0.8); }
.preview-dot-green { background: rgba(34, 197, 94, 0.8); }

.preview-url {
    flex: 1;
    margin: 0 1rem;
}

.preview-url-bar {
    background: var(--card-bg);
    border-radius: 0.375rem;
    padding: 0.375rem 1rem;
    color: var(--stone-500);
    font-size: 0.875rem;
    text-align: center;
    max-width: 28rem;
    margin: 0 auto;
}

.preview-content {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--card-bg), var(--section-alt-bg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-logo {
    text-align: center;
}

.preview-logo-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
}

.preview-logo-text {
    color: var(--stone-500);
    font-size: 1.125rem;
}

.preview-glow-1,
.preview-glow-2 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    filter: blur(48px);
}

.preview-glow-1 {
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(139, 92, 246, 0.2);
}

.preview-glow-2 {
    top: -1.5rem;
    right: -1.5rem;
    background: rgba(6, 182, 212, 0.2);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    position: relative;
    padding: var(--section-padding) 0;
    background: white;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.section-label {
    color: var(--violet-600);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--stone-900);
}

.feature-icon.violet { background: linear-gradient(135deg, var(--violet-500), var(--purple-500)); }
.feature-icon.fuchsia { background: linear-gradient(135deg, var(--fuchsia-500), var(--pink-500)); }
.feature-icon.cyan { background: linear-gradient(135deg, var(--cyan-500), var(--blue-500)); }
.feature-icon.emerald { background: linear-gradient(135deg, var(--emerald-500), var(--teal-500)); }
.feature-icon.orange { background: linear-gradient(135deg, var(--orange-500), var(--amber-500)); }
.feature-icon.rose { background: linear-gradient(135deg, var(--rose-500), var(--red-500)); }
.feature-icon.indigo { background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); }
.feature-icon.sky { background: linear-gradient(135deg, var(--sky-500), var(--cyan-500)); }
.feature-icon.slate { background: linear-gradient(135deg, var(--slate-500), var(--zinc-500)); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate-600);
    line-height: 1.6;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--body-bg);
    overflow: visible; /* was hidden — caused step-number badges to be clipped */
}

.how-it-works-bg {
    position: absolute;
    inset: 0;
}

.how-it-works-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.how-it-works-orb-1 {
    top: 50%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.2);
}

.how-it-works-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.2);
}

.how-it-works .section-label {
    color: var(--violet-600);
}

.how-it-works .section-title {
    color: var(--stone-900);
}

.steps-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.how-it-works .step-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

/* Circle badge positioned outside the card — needs overflow:visible on parent */
.how-it-works .step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works .step-number span {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--violet-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure the steps grid has top clearance for overflowing badges */
.how-it-works .steps-grid {
    padding-top: 1.25rem;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.step-icon.violet {
    background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
}

.step-icon.fuchsia {
    background: linear-gradient(135deg, var(--fuchsia-500), var(--fuchsia-600));
    box-shadow: 0 10px 15px -3px rgba(217, 70, 239, 0.2);
}

.step-icon.cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.2);
}

.step-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--stone-900);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--stone-500);
    line-height: 1.6;
}

/* Connector Lines */
.step-connector {
    display: none;
    position: absolute;
    top: 5rem;
    left: 100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--slate-700), transparent);
}

@media (min-width: 1024px) {
    .step-card:not(:last-child) .step-connector {
        display: block;
    }
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--slate-50);
    overflow: hidden;
}

.pricing-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.375rem;
    border-radius: 9999px;
    background: white;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: var(--section-alt-bg);
    color: var(--stone-900);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-btn:not(.active):hover {
    color: var(--slate-900);
}

.toggle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: var(--emerald-500);
    color: var(--stone-900);
    font-size: 0.75rem;
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 1.5rem; /* space for the "Most Popular" badge on the highlighted card */
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: white;
    border: 1px solid var(--slate-200);
}

.pricing-card.highlighted {
    background: var(--section-alt-bg);
    color: var(--stone-900);
    border: none;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--violet-600), var(--cyan-600));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
    white-space: nowrap;
}

.pricing-badge svg {
    width: 1rem;
    height: 1rem;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card:not(.highlighted) .pricing-name {
    color: var(--slate-900);
}

.pricing-description {
    font-size: 0.875rem;
}

.pricing-card:not(.highlighted) .pricing-description {
    color: var(--slate-600);
}

.pricing-card.highlighted .pricing-description {
    color: var(--stone-500);
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-card:not(.highlighted) .price-value {
    color: var(--slate-900);
}

.price-period {
    font-size: 1rem;
}

.pricing-card:not(.highlighted) .price-period {
    color: var(--slate-600);
}

.pricing-card.highlighted .price-period {
    color: var(--stone-500);
}

.price-annual {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.pricing-card:not(.highlighted) .price-annual {
    color: var(--slate-500);
}

.pricing-card.highlighted .price-annual {
    color: var(--stone-500);
}

.pricing-cta {
    margin-bottom: 2rem;
}

.pricing-cta .btn {
    width: 100%;
    height: 3rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-card:not(.highlighted) .pricing-feature svg {
    color: var(--emerald-500);
}

.pricing-card.highlighted .pricing-feature svg {
    color: var(--emerald-400);
}

.pricing-card:not(.highlighted) .pricing-feature span {
    color: var(--slate-600);
}

.pricing-card.highlighted .pricing-feature span {
    color: var(--stone-600);
}

.pricing-guarantee {
    text-align: center;
    margin-top: 3rem;
    color: var(--slate-600);
}
/* Highlighted card (Professional) - ensure ALL text is readable */
.pricing-card.highlighted .pricing-name {
    color: var(--stone-900);
}

.pricing-card.highlighted .pricing-description {
    color: var(--stone-500);
}

.pricing-card.highlighted .price-value {
    color: var(--stone-900);
}

.pricing-card.highlighted .price-period {
    color: var(--stone-500);
}

.pricing-card.highlighted .price-annual {
    color: var(--stone-500);
}

.pricing-card.highlighted .pricing-feature span {
    color: var(--stone-600);
}

.pricing-card.highlighted .pricing-feature svg {
    color: var(--emerald-400);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    position: relative;
    padding: var(--section-padding) 0;
    background: white;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
}

.testimonial-quote-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: rgba(139, 92, 246, 0.2);
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--amber-400);
    color: var(--amber-400);
}

.testimonial-text {
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-900);
    font-weight: 600;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--slate-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.logo-cloud {
    border-top: 1px solid var(--slate-200);
    padding-top: 3rem;
}

.logo-cloud-text {
    text-align: center;
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.logo-cloud-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
}

.logo-cloud-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-600);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--body-bg);
    overflow: hidden;
}

.faq-bg {
    position: absolute;
    inset: 0;
}

.faq-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.faq-orb-1 {
    bottom: 0;
    left: 25%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.2);
}

.faq-orb-2 {
    top: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.2);
}

.faq .section-label {
    color: var(--violet-400);
}

.faq .section-title {
    color: var(--stone-900);
}

.faq .section-subtitle {
    color: var(--stone-500);
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--slate-200);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    color: var(--stone-700);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--violet-400);
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--violet-400);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--stone-700);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: white;
}

.cta-card {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--violet-600), var(--fuchsia-600), var(--cyan-600));
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(48px);
}

.cta-orb-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
}

.cta-orb-2 {
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
}

.cta-content {
    position: relative;
    z-index: 10;
    padding: 3.5rem 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        padding: 4rem 3rem;
    }
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
    .cta-subtitle {
        font-size: 1.25rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 2rem;
}



/* ========================================
   LIGHT PAGE BODY (warm stone palette)
   ======================================== */
.tekram-page-body {
    background: var(--body-bg);
    color: var(--stone-700);
}
/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--body-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    padding: 4rem 0;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-900);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logo-text {
    color: var(--stone-900);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-tagline {
    color: var(--stone-500);
    line-height: 1.6;
    max-width: 20rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-500);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: var(--stone-900);
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
}

.footer-column h4 {
    color: var(--stone-900);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--stone-500);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--stone-900);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: var(--slate-500);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--stone-500);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }
.animate-on-scroll[data-delay="7"] { transition-delay: 0.7s; }
.animate-on-scroll[data-delay="8"] { transition-delay: 0.8s; }
.animate-on-scroll[data-delay="9"] { transition-delay: 0.9s; }

/* ========================================
   TEKRAM HEADER COMPONENT
   ======================================== */
.tekram-header { --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.tekram-header * { box-sizing: border-box; margin: 0; padding: 0; }
.tekram-header a { text-decoration: none; color: inherit; }
.tekram-header button { font-family: inherit; cursor: pointer; border: none; background: none; }
.tekram-header .navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(2,6,23,0.95); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: var(--font-sans);
}
.tekram-header .nav-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.tekram-header .navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.tekram-header .logo { display: flex; align-items: center; gap: 0.75rem; }
.tekram-header .logo-img { height: 2.5rem; width: auto; border-radius: 0.5rem; }
.tekram-header .logo-text { color: #fff; font-weight: 600; font-size: 1.25rem; }
.tekram-header .nav-links { display: none; align-items: center; gap: 2rem; }
@media(min-width:768px) { .tekram-header .nav-links { display: flex; } }
.tekram-header .nav-link { color: var(--slate-300); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.tekram-header .nav-link:hover { color: white; }
.tekram-header .nav-cta { display: none; align-items: center; gap: 1rem; }
@media(min-width:768px) { .tekram-header .nav-cta { display: flex; } }
.tekram-header .hdr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600;
    border-radius: 0.5rem; transition: all 0.2s; white-space: nowrap;
}
.tekram-header .hdr-btn-ghost { color: rgba(255,255,255,0.75); }
.tekram-header .hdr-btn-ghost:hover { color: white; background: rgba(255,255,255,0.1); }
.tekram-header .hdr-btn-primary { background: linear-gradient(to right, var(--violet-600), var(--cyan-600)); color: white; }
.tekram-header .hdr-btn-primary:hover { background: linear-gradient(to right, var(--violet-500), var(--cyan-500)); }
.tekram-header .mobile-menu-btn { display: flex; padding: 0.5rem; color: #fff; }
@media(min-width:768px) { .tekram-header .mobile-menu-btn { display: none; } }
.tekram-header .mobile-menu-btn .close-icon { display: none; }
.tekram-header .mobile-menu-btn.active .menu-icon { display: none; }
.tekram-header .mobile-menu-btn.active .close-icon { display: block; }
.tekram-header .mobile-menu {
    display: none; background: rgba(2,6,23,0.98); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.05); padding: 1.5rem;
}
.tekram-header .mobile-menu.active { display: block; }
.tekram-header .mobile-menu a { display: block; color: var(--slate-300); font-size: 1rem; font-weight: 500; padding: 0.75rem 0; transition: color 0.2s; }
.tekram-header .mobile-menu a:hover { color: white; }
.tekram-header .mobile-cta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.75rem; }
.tekram-header .mobile-cta .hdr-btn { width: 100%; display: flex; justify-content: center; }
.tekram-header .hdr-btn-outline-light { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.tekram-header .hdr-btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* ========================================
   TEKRAM FOOTER COMPONENT
   ======================================== */
.tekram-footer { --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.tekram-footer * { box-sizing: border-box; margin: 0; padding: 0; }
.tekram-footer a { text-decoration: none; color: inherit; }
.tekram-footer ul { list-style: none; }
.tekram-footer .footer { background: var(--slate-950); border-top: 1px solid rgba(255,255,255,0.05); font-family: var(--font-sans); }
.tekram-footer .ftr-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.tekram-footer .footer-main { padding: 4rem 0; display: grid; gap: 2rem; }
@media(min-width:768px) { .tekram-footer .footer-main { grid-template-columns: 2fr 1fr 1fr; } .tekram-footer .footer-columns-wrapper { display: contents; } }
@media(max-width:767px) { .tekram-footer .footer-main { grid-template-columns: 1fr; } .tekram-footer .footer-columns-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.tekram-footer .footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.tekram-footer .footer-logo img { height: 3rem; width: auto; border-radius: 0.5rem; }
.tekram-footer .footer-tagline { color: var(--stone-500); line-height: 1.6; max-width: 20rem; margin-bottom: 1.5rem; }
.tekram-footer .footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--stone-500); font-size: 0.875rem; }
.tekram-footer .footer-contact-item svg { width: 1rem; height: 1rem; }
.tekram-footer .footer-column h4 { color: var(--slate-100); font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }
.tekram-footer .footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.tekram-footer .footer-links a { color: var(--stone-500); font-size: 0.875rem; transition: color 0.2s; }
.tekram-footer .footer-links a:hover { color: var(--cyan-400); }
.tekram-footer .footer-bottom {
    padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
@media(min-width:768px) { .tekram-footer .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.tekram-footer .footer-copyright { color: var(--slate-500); font-size: 0.875rem; }
.tekram-footer .footer-copyright a { color: var(--stone-500); transition: color 0.2s; }
.tekram-footer .footer-copyright a:hover { color: var(--cyan-400); }
.tekram-footer .footer-social { display: flex; gap: 1rem; }
.tekram-footer .footer-social-link {
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: var(--card-bg); display: flex; align-items: center;
    justify-content: center; transition: background 0.2s;
}
.tekram-footer .footer-social-link:hover { background: rgba(6, 182, 212, 0.15); }
.tekram-footer .footer-social-link svg { width: 1.25rem; height: 1.25rem; color: var(--stone-500); }

.tekram-footer .footer-contact-item:hover { color: var(--cyan-400); }
.tekram-footer .footer-social-link:hover svg { color: var(--cyan-400); }

/* ========================================
   SHARED: FEATURES & HOW-IT-WORKS PAGES
   ======================================== */
/* ─── Layout ─── */
    /* container uses global max-width (--container-max: 80rem) from root */
    .container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

    /* ─── Hero ─── */
    .welcome-hero {
        position: relative;
        padding: 0.5rem 0 5rem;
        overflow: hidden;
        text-align: center;
        background: var(--slate-950);
    }
    .welcome-hero::before {
        content: '';
        position: absolute;
        top: -40%; left: -20%;
        width: 60%; height: 120%;
        background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
        pointer-events: none;
    }
    .welcome-hero::after {
        content: '';
        position: absolute;
        top: -20%; right: -20%;
        width: 50%; height: 100%;
        background: radial-gradient(ellipse, rgba(6,182,212,0.08) 0%, transparent 70%);
        pointer-events: none;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: rgba(139,92,246,0.1);
        border: 1px solid rgba(139,92,246,0.2);
        border-radius: 100px;
        font-size: 0.875rem;
        color: var(--violet-400);
        margin-bottom: 1.5rem;
    }
    .hero-badge svg { width: 1rem; height: 1rem; color: var(--violet-400); }
    .welcome-hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 800;
        color: #fff;
        line-height: 1.15;
        margin-bottom: 1rem;
        position: relative;
    }
    .gradient-text {
        background: linear-gradient(135deg, var(--violet-400), var(--cyan-400));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .welcome-hero p.subtitle {
        font-size: 1.125rem;
        color: var(--slate-400);
        max-width: 38rem;
        margin: 0 auto 2.5rem;
    }
    .hero-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .hero-nav a {
        display: inline-flex;
        align-items: center;
        color: var(--slate-300);
        border-color: rgba(255,255,255,0.15);
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .hero-nav a svg { width: 1rem; height: 1rem; }
    .btn-primary-grad {
        background: linear-gradient(135deg, var(--violet-600), var(--cyan-600));
        color: #fff;
    }
    .btn-primary-grad:hover {
        background: linear-gradient(135deg, var(--violet-500), var(--cyan-500));
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(139,92,246,0.3);
    }
    .btn-outline {
        background: transparent;
        color: #fff;
        border: 1px solid rgba(255,255,255,0.2);
    }
    .btn-outline:hover {
        background: var(--card-bg);
        border-color: rgba(255,255,255,0.3);
    }

    /* ─── Section Headers ─── */
    .section { padding: 5rem 0; position: relative; }
    .section-label {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--violet-400);
        margin-bottom: 0.75rem;
    }
    .section-label svg { width: 1rem; height: 1rem; }
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        font-weight: 800;
        color: var(--stone-900);
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
    }
    .section-subtitle {
        font-size: 1.0625rem;
        color: var(--stone-500);
        max-width: 42rem;
        text-align: center;
        margin: 0 auto;
    }
    .section-header { margin-bottom: 3rem; }
    .section-header.centered { text-align: center; }
    .section-header.centered .section-subtitle { margin: 0 auto; }

    /* ─── Divider ─── */
    .section-divider {
        border: none;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(139,92,246,0.3), rgba(6,182,212,0.3), transparent);
        margin: 0;
    }

    /* ─── Step Cards (matches homepage "Three Simple Steps") ─── */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    .step-card {
        position: relative;
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: 1rem;
        padding: 2rem;
        transition: all 0.3s ease;
    }
    .step-card:hover {
        border-color: rgba(139,92,246,0.3);
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    }
    .step-number {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
    }
    .step-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
    }
    .step-icon svg { width: 1.5rem; height: 1.5rem; color: var(--stone-900); }
    .step-icon.violet { background: linear-gradient(135deg, var(--violet-600), var(--violet-500)); }
    .step-icon.cyan { background: linear-gradient(135deg, var(--cyan-600), var(--cyan-500)); }
    .step-icon.emerald { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500)); }
    .step-icon.fuchsia { background: linear-gradient(135deg, #c026d3, var(--fuchsia-500)); }
    .step-icon.amber { background: linear-gradient(135deg, #d97706, var(--amber-500)); }
    .step-icon.rose { background: linear-gradient(135deg, #e11d48, var(--rose-500)); }
    .step-icon.sky { background: linear-gradient(135deg, #0284c7, var(--sky-500)); }
    .step-card h3 {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--stone-900);
        margin-bottom: 0.75rem;
    }
    .step-card p { color: var(--stone-500); font-size: 0.9375rem; }

    /* ─── Feature Detail Cards ─── */
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    @media (min-width: 768px) {
        .detail-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .detail-card {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: 1rem;
        padding: 2rem;
        transition: all 0.3s ease;
    }
    .detail-card:hover {
        border-color: rgba(139,92,246,0.3);
        background: var(--section-alt-bg);
    }
    .detail-card-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.625rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .detail-card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--stone-900); }
    .detail-card h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--stone-900);
        margin-bottom: 0.5rem;
    }
    .detail-card p { font-size: 0.875rem; color: var(--stone-500); line-height: 1.65; }

    /* ─── Process Flow (numbered list cards) ─── */
    .flow-list { display: flex; flex-direction: column; gap: 1.25rem; }
    .flow-item {
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.5rem;
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: 0.75rem;
        transition: all 0.2s ease;
    }
    .flow-item:hover {
        background: var(--section-alt-bg);
        border-color: rgba(139,92,246,0.3);
    }
    .flow-num {
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8125rem;
        font-weight: 700;
        color: var(--stone-900);
    }
    .flow-num.violet { background: linear-gradient(135deg, var(--violet-600), var(--violet-500)); }
    .flow-num.cyan { background: linear-gradient(135deg, var(--cyan-600), var(--cyan-500)); }
    .flow-num.emerald { background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500)); }
    .flow-num.fuchsia { background: linear-gradient(135deg, #c026d3, var(--fuchsia-500)); }
    .flow-num.amber { background: linear-gradient(135deg, #d97706, var(--amber-500)); }
    .flow-content h4 {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--stone-900);
        margin-bottom: 0.25rem;
    }
    .flow-content p { font-size: 0.875rem; color: var(--stone-500); }

    /* ─── Checklist / Onboarding Table ─── */
    .checklist-section {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: 1rem;
        overflow: hidden;
        margin-bottom: 1.5rem;
    }
    .checklist-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
        background: var(--card-bg);
        border-bottom: 1px solid var(--stone-200);
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .checklist-header:hover { background: var(--section-alt-bg); }
    .checklist-header svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
    .checklist-header h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--stone-900);
        flex: 1;
    }
    .checklist-header .toggle-icon {
        color: var(--slate-500);
        transition: transform 0.3s ease;
    }
    .checklist-header.open .toggle-icon { transform: rotate(180deg); }
    .checklist-body { padding: 1.5rem; }
    .checklist-body.collapsed { display: none; }
    .checklist-item {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
        padding: 0.625rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .checklist-item:last-child { border-bottom: none; }
    .checklist-item svg {
        width: 1rem;
        height: 1rem;
        color: var(--emerald-400);
        flex-shrink: 0;
        margin-top: 0.2rem;
    }
    .checklist-item span { font-size: 0.9375rem; color: var(--stone-600); }
    .checklist-item .hint {
        display: block;
        font-size: 0.8125rem;
        color: var(--slate-500);
        margin-top: 0.125rem;
    }

    /* ─── Info Callout ─── */
    .callout {
        display: flex;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        border-radius: 0.75rem;
        margin: 2rem 0;
    }
    .callout svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; }
    .callout p { font-size: 0.9375rem; }
    .callout-violet {
        background: rgba(139,92,246,0.08);
        border: 1px solid rgba(139,92,246,0.2);
    }
    .callout-violet svg { color: var(--violet-400); }
    .callout-violet p { color: var(--violet-400); }
    .callout-emerald {
        background: rgba(16,185,129,0.08);
        border: 1px solid rgba(16,185,129,0.2);
    }
    .callout-emerald svg { color: var(--emerald-400); }
    .callout-emerald p { color: var(--emerald-400); }

    /* ─── Perspective Tabs ─── */
    .perspective-tabs {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 2.5rem;
        background: var(--card-bg);
        padding: 0.375rem;
        border-radius: 0.75rem;
        border: 1px solid var(--card-border);
        width: fit-content;
    }
    .perspective-tab {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--stone-500);
        background: transparent;
        border: none;
        cursor: pointer;
        font-family: inherit;
        transition: all 0.2s ease;
    }
    .perspective-tab svg { width: 1rem; height: 1rem; }
    .perspective-tab:hover { color: var(--stone-700); }
    .perspective-tab.active {
        background: linear-gradient(135deg, var(--violet-600), var(--cyan-600));
        color: #fff;
    }
    .perspective-content { display: none; }
    .perspective-content.active { display: block; animation: fadeIn 0.35s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

    /* ─── CTA Section ─── */
    .cta-section {
        padding: 5rem 0;
        text-align: center;
    }
    .cta-card {
        position: relative;
        background: linear-gradient(135deg, var(--violet-600), var(--cyan-600));
        border-radius: 1.5rem;
        padding: 4rem 2rem;
        overflow: hidden;
    }
    .cta-card::before {
        content: '';
        position: absolute;
        top: -50%; right: -20%;
        width: 60%; height: 200%;
        background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }
    .cta-card h2 {
        font-size: clamp(1.5rem, 3.5vw, 2.25rem);
        font-weight: 800;
        color: #fff;
        margin-bottom: 1rem;
        position: relative;
    }
    .cta-card p {
        color: rgba(255,255,255,0.85);
        font-size: 1.0625rem;
        max-width: 32rem;
        margin: 0 auto 2rem;
        position: relative;
    }
    .cta-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        position: relative;
    }
    .cta-buttons a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 1.75rem;
        border-radius: 0.5rem;
        font-size: 0.9375rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .cta-buttons a svg { width: 1rem; height: 1rem; }
    .btn-white { background: white; color: var(--slate-900); }
    .btn-white:hover { background: var(--slate-100); transform: translateY(-1px); }
    .btn-outline-light { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
    .btn-outline-light:hover { background: rgba(255,255,255,0.1); }

    /* ─── Responsive ─── */
    @media (max-width: 768px) {
        .welcome-hero { padding: 6rem 0 3rem; }
        .section { padding: 3.5rem 0; }
        .steps-grid { grid-template-columns: 1fr; }
        .perspective-tabs { width: 100%; }
        .perspective-tab { flex: 1; justify-content: center; font-size: 0.8125rem; padding: 0.5rem 0.75rem; }
        .cta-card { padding: 3rem 1.5rem; }
        .hero-nav { flex-direction: column; align-items: center; }
    }

/* How-It-Works page extras */
/* body background is correctly handled by the base body rule above */


.contact-form-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}


/* ========================================
   SHARED: LEGAL PAGES (Terms & Privacy)
   ======================================== */
/* Legal Pages Specific Styles */
.legal-hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    text-align: center;
}
.legal-hero::before {
    content: '';
    position: absolute;
    top: 25%; left: -8rem;
    width: 24rem; height: 24rem;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}
.legal-hero::after {
    content: '';
    position: absolute;
    bottom: 25%; right: -8rem;
    width: 24rem; height: 24rem;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}
.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--stone-900);
    position: relative;
    z-index: 10;
}
.legal-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}
.legal-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--stone-200);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}
.legal-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}
.legal-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #a78bfa;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #22d3ee;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.legal-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.legal-card ul li {
    position: relative;
    padding-left: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.legal-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a78bfa;
}
.legal-card a {
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.2s ease;
}
.legal-card a:hover {
    color: #67e8f9;
    text-decoration: underline;
}
.legal-card strong {
    color: var(--stone-900);
    font-weight: 600;
}
.effective-date {
    text-align: center;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.5rem;
    color: #a78bfa;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Terms page extras */

.legal-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legal-nav a {
    padding: 0.75rem 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--stone-200);
    border-radius: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}


/* ========================================
   PAGE: CONTACT
   ======================================== */
/* Contact Page Specific Styles — scoped to contact page template via WP body class */
body.page-template-page-tekram-contact {
    /* The deep midnight base  */
    background-color: #274865;
    /* Adding the subtle grid pattern */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.contact-hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    text-align: center;
    background: var(--slate-950);
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 25%; left: -8rem;
    width: 24rem; height: 24rem;
    background: rgba(139, 92, 246, 0.25); 
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 25%; right: -8rem;
    width: 24rem; height: 24rem;
    background: rgba(126, 182, 212, 0.25);
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}
.contact-hero .section-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #22d3ee;
}
.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.contact-section {
    padding-bottom: 8rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-form-card {
    background: rgba(255, 255, 255, 0.7); 
    border: 1px solid var(--stone-900);
    border-radius: 1rem;
    backdrop-filter: blur(12px);    
    padding: 2rem 2.5rem;
}
.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 0.5rem;
}
.contact-form-card .subtitle {
    color: #94a3b8;
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
    .form-row.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
}
.form-group label .required {
    color: #f43f5e;
}
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--slate-800);
    border: 1px solid var(--stone-200);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: #64748b;
}
.form-textarea {
    min-height: 8rem;
    resize: vertical;
}
.form-error,
.form-success {
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: none;
}
.form-error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fca5a5;
}
.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}
.form-error.visible,
.form-success.visible {
    display: block;
}
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to right, #7c3aed, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact-submit-btn:hover {
    background: linear-gradient(to right, #8b5cf6, #22d3ee);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.5);
    opacity: 0.9;
}
.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.contact-submit-btn svg {
    width: 1rem;
    height: 1rem;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}


/* ========================================
   PAGE: VENDOR APPLICATION
   ======================================== */
/* Vendor Application page — scoped to template via WP body class */
body.page-template-page-tekram-vendor-application {font-family:var(--font-sans);line-height:1.6;background:linear-gradient(135deg,var(--slate-50),var(--violet-50));min-height:100vh;padding-top:1rem}
    .vendor-app{min-height:100vh}
    .app-header{background:var(--slate-900);color:white;padding:2rem 0}
    .vendor-app .container{max-width:56rem;margin:0 auto;padding:0 1.5rem}
    .header-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;text-decoration:none}
    .header-brand img{height:2.5rem;width:auto}
    .header-brand span{color:white;font-weight:600;font-size:1.25rem}
    .header-title{font-size:1.875rem;font-weight:700;color:white;margin-bottom:.5rem}
    .header-subtitle{color:var(--slate-400)}
    .progress-bar{background:var(--slate-800);padding:1.5rem 0}
    .progress-steps{display:flex;justify-content:space-between}
    .progress-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1;position:relative}
    .progress-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:60%;width:80%;height:2px;background:var(--slate-700)}
    .progress-step.completed:not(:last-child)::after{background:var(--emerald-500)}
    .progress-step .step-icon{width:2.5rem;height:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--slate-700);color:var(--slate-400);position:relative;z-index:1;transition:all .3s}
    .step-icon svg{width:1.25rem;height:1.25rem}
    .progress-step.active .step-icon{background:linear-gradient(135deg,var(--violet-500),var(--cyan-500));color:white;box-shadow:0 0 20px rgba(139,92,246,.4)}
    .progress-step.completed .step-icon{background:var(--emerald-500);color:white}
    .step-title{font-size:.7rem;color:var(--slate-500);text-align:center;display:none}
    @media(min-width:768px){.step-title{display:block;font-size:.75rem}}
    .progress-step.active .step-title,.progress-step.completed .step-title{color:var(--slate-300)}
    .form-wrapper{padding:2rem 1.5rem;max-width:56rem;margin:0 auto}
    .vendor-app .card{background:white;border-radius:1rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);overflow:hidden}
    .vendor-app .card-header{padding:1.5rem;border-bottom:1px solid var(--slate-200)}
    .vendor-app .card-title{font-size:1.25rem;font-weight:600;color:var(--slate-900);display:flex;align-items:center;gap:.5rem}
    .vendor-app .card-title svg{color:var(--violet-500);width:1.25rem;height:1.25rem}
    .vendor-app .card-description{color:var(--slate-500);font-size:.875rem;margin-top:.25rem}
    .vendor-app .card-content{padding:1.5rem}
    .form-grid{display:grid;gap:1.5rem}
    .form-row{display:grid;grid-template-columns:1fr;gap:1.5rem}
    @media(min-width:768px){.form-row{grid-template-columns:repeat(2,1fr)}}
    .form-group{display:flex;flex-direction:column;gap:.5rem}
    .form-label{font-size:.875rem;font-weight:500;color:var(--slate-700)}
    .form-label .required{color:var(--rose-500)}
    .form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;background:white;border:1px solid var(--slate-300);border-radius:.5rem;color:var(--slate-900);font-size:1rem;font-family:inherit;transition:all .2s}
    .form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--violet-500);box-shadow:0 0 0 3px rgba(139,92,246,.1)}
    .form-input::placeholder,.form-textarea::placeholder{color:var(--slate-400)}
    .form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.25rem;padding-right:2.5rem}
    .form-textarea{min-height:100px;resize:vertical}
    .checkbox-wrapper{display:flex;align-items:flex-start;gap:.75rem}
    .checkbox-input{width:1.25rem;height:1.25rem;accent-color:var(--violet-500);cursor:pointer;flex-shrink:0}
    .checkbox-label{color:var(--slate-700);font-size:.875rem;cursor:pointer}
    .checkbox-label small{display:block;color:var(--slate-500);margin-top:.25rem}
    .vendor-app .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;border-radius:.5rem;cursor:pointer;transition:all .2s;border:none;font-family:inherit}
    .vendor-app .btn svg{width:1rem;height:1rem}
    .vendor-app .btn-primary{background:var(--violet-600);color:white}
    .vendor-app .btn-primary:hover{background:var(--violet-500)}
    .vendor-app .btn-primary:disabled{opacity:.5;cursor:not-allowed}
    .vendor-app .btn-outline{background:white;color:var(--slate-700);border:1px solid var(--slate-300)}
    .vendor-app .btn-outline:hover{background:var(--slate-50)}
    .vendor-app .btn-success{background:var(--emerald-600);color:white}
    .vendor-app .btn-success:hover{background:var(--emerald-500)}
    .form-nav{display:flex;justify-content:space-between;margin-top:2rem}
    .vendor-app .section-title{font-size:1rem;font-weight:600;color:var(--slate-800);margin:1.5rem 0 1rem;padding-bottom:.5rem;border-bottom:1px solid var(--slate-200);display:flex;align-items:center;gap:.5rem}
    .vendor-app .section-title svg{color:var(--violet-500);width:1.125rem;height:1.125rem}
    .alert{padding:1rem;border-radius:.5rem;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.75rem}
    .alert svg{width:1.25rem;height:1.25rem;flex-shrink:0;margin-top:.125rem}
    .alert-info{background:var(--violet-50);border:1px solid var(--violet-200);color:var(--violet-700)}
    .alert-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}
    .review-section{background:var(--slate-50);border-radius:.75rem;padding:1rem;margin-bottom:1rem}
    .review-section h4{font-weight:600;color:var(--slate-800);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem;font-size:.875rem}
    .review-section h4 svg{color:var(--violet-500);width:1rem;height:1rem}
    .review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem 2rem}
    .review-item dt{font-size:.75rem;color:var(--slate-500)}
    .review-item dd{color:var(--slate-800);font-weight:500;font-size:.875rem}
    .success-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,var(--slate-50),var(--violet-50))}
    .success-card{text-align:center;max-width:28rem;background:white;padding:3rem;border-radius:1.5rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.1)}
    .success-icon{width:5rem;height:5rem;background:rgba(16,185,129,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}
    .success-icon svg{width:2.5rem;height:2.5rem;color:var(--emerald-500)}
    .success-title{font-size:1.875rem;font-weight:700;color:var(--slate-900);margin-bottom:1rem}
    .success-message{color:var(--slate-600);margin-bottom:.5rem}
    .reference-id{font-family:monospace;background:var(--slate-100);padding:.5rem 1rem;border-radius:.5rem;font-size:1.125rem;font-weight:600;color:var(--violet-600);margin-bottom:2rem;display:inline-block}
    .step-content{display:none}
    .step-content.active{display:block;animation:fadeIn .3s ease}
    @keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
    .animate-spin{animation:spin 1s linear infinite}
    @keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}


/* ========================================
   PAGE: CLIENT ONBOARDING
   ======================================== */
.onboarding-page{min-height:100vh;background:var(--slate-950)}
    .onboarding-header{background:var(--slate-900);border-bottom:1px solid rgba(255,255,255,0.05);padding:2rem 0}
    .onboarding-header .container{max-width:56rem;margin:0 auto;padding:0 1.5rem}
    .header-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;text-decoration:none}
    .header-brand img{height:2.5rem;width:auto}
    .header-brand span{color:white;font-weight:600;font-size:1.25rem}
    .header-title{font-size:1.875rem;font-weight:700;color:white;margin-bottom:.5rem}
    .header-subtitle{color:var(--slate-400)}
    .progress-container{background:rgba(15,23,42,0.5);border-bottom:1px solid rgba(255,255,255,0.05);padding:1.5rem 0;overflow-x:auto}
    .progress-steps{max-width:56rem;margin:0 auto;padding:0 1.5rem;display:flex;justify-content:space-between;min-width:600px}
    .progress-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1;position:relative}
    .progress-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:60%;width:80%;height:2px;background:var(--slate-700)}
    .progress-step.completed:not(:last-child)::after{background:linear-gradient(to right,var(--violet-500),var(--cyan-500))}
    .step-circle{width:2.5rem;height:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--slate-800);border:2px solid var(--slate-600);color:var(--slate-400);font-weight:600;font-size:.875rem;position:relative;z-index:1;transition:all .3s ease}
    .progress-step.active .step-circle{background:linear-gradient(135deg,var(--violet-500),var(--cyan-500));border-color:transparent;color:white;box-shadow:0 0 20px rgba(139,92,246,0.4)}
    .progress-step.completed .step-circle{background:var(--emerald-500);border-color:transparent;color:white}
    .step-label{font-size:.7rem;color:var(--slate-500);text-align:center;display:none}
    @media(min-width:768px){.step-label{display:block;font-size:.75rem}}
    .progress-step.active .step-label,.progress-step.completed .step-label{color:var(--slate-300)}
    .form-container{max-width:56rem;margin:0 auto;padding:3rem 1.5rem}
    .onboarding-page .card{background:rgba(15,23,42,0.85);border:1px solid rgba(255,255,255,0.1);border-radius:1rem;overflow:hidden;backdrop-filter:blur(8px)}
    .onboarding-page .card-header{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,0.05)}
    .onboarding-page .card-title{font-size:1.25rem;font-weight:600;color:white;display:flex;align-items:center;gap:.5rem}
    .onboarding-page .card-title svg{color:var(--violet-400);width:1.25rem;height:1.25rem}
    .onboarding-page .card-description{color:var(--slate-400);font-size:.875rem;margin-top:.25rem}
    .onboarding-page .card-content{padding:1.5rem}
    .form-grid{display:grid;gap:1.5rem}
    .form-grid-2{display:grid;grid-template-columns:1fr;gap:1.5rem}
    @media(min-width:768px){.form-grid-2{grid-template-columns:repeat(2,1fr)}}
    .form-grid-3{display:grid;grid-template-columns:1fr;gap:1.5rem}
    @media(min-width:768px){.form-grid-3{grid-template-columns:repeat(3,1fr)}}
    .form-group{display:flex;flex-direction:column;gap:.5rem}
    .form-label{font-size:.875rem;font-weight:500;color:var(--slate-300)}
    .form-label .required{color:var(--rose-500)}
    .form-hint{font-size:.75rem;color:var(--slate-500);margin-top:-.25rem}
    .form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;background:var(--slate-800);border:1px solid rgba(255,255,255,0.1);border-radius:.5rem;color:white;font-size:1rem;font-family:inherit;transition:all .2s ease}
    .form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--violet-500);box-shadow:0 0 0 3px rgba(139,92,246,0.2)}
    .form-input::placeholder,.form-textarea::placeholder{color:var(--slate-500)}
    .form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.25rem;padding-right:2.5rem}
    .form-select option{background:var(--slate-800);color:white}
    .form-textarea{min-height:5rem;resize:vertical}
    .form-file-input{padding:.5rem;font-size:.875rem}
    .form-file-input::file-selector-button{padding:.5rem 1rem;border-radius:.375rem;border:1px solid rgba(255,255,255,0.15);background:var(--slate-700);color:white;cursor:pointer;font-family:inherit;font-size:.8125rem;margin-right:.75rem;transition:background .2s}
    .form-file-input::file-selector-button:hover{background:var(--slate-600)}
    .form-colour-wrapper{display:flex;align-items:center;gap:.75rem}
    .form-colour-wrapper input[type="color"]{width:3rem;height:2.5rem;border:2px solid rgba(255,255,255,0.1);border-radius:.375rem;cursor:pointer;background:transparent;padding:0}
    .form-colour-wrapper input[type="text"]{flex:1}
    .checkbox-group{display:flex;flex-wrap:wrap;gap:.75rem}
    .checkbox-label{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--slate-800);border:1px solid rgba(255,255,255,0.1);border-radius:.5rem;cursor:pointer;font-size:.875rem;color:var(--slate-300);transition:all .2s ease}
    .checkbox-label:hover{border-color:rgba(139,92,246,0.3)}
    .checkbox-label input[type="checkbox"]{accent-color:var(--violet-500);width:1rem;height:1rem}
    .checkbox-label.checked{border-color:var(--violet-500);background:rgba(139,92,246,0.1)}
    .addon-row{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:end;padding:1rem;background:rgba(15,23,42,0.4);border:1px solid rgba(255,255,255,0.06);border-radius:.75rem;margin-bottom:.75rem}
    @media(min-width:768px){.addon-row{grid-template-columns:1fr 1fr auto}}
    .addon-price-field{display:none}
    .addon-price-field.visible{display:block}
    .onboarding-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;border-radius:.5rem;cursor:pointer;transition:all .2s ease;border:none;font-family:inherit}
    .onboarding-page .btn svg{width:1rem;height:1rem}
    .onboarding-page .btn-primary{background:linear-gradient(to right,var(--violet-600),var(--cyan-600));color:white}
    .onboarding-page .btn-primary:hover{background:linear-gradient(to right,var(--violet-500),var(--cyan-500));transform:translateY(-1px)}
    .onboarding-page .btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}
    .onboarding-page .btn-secondary{background:transparent;color:white;border:1px solid rgba(255,255,255,0.2)}
    .onboarding-page .btn-secondary:hover{background:rgba(255,255,255,0.1)}
    .onboarding-page .btn-success{background:var(--emerald-600);color:white}
    .onboarding-page .btn-success:hover{background:var(--emerald-500)}
    .form-navigation{display:flex;justify-content:space-between;margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,0.1)}
    .alert{padding:1rem;border-radius:.5rem;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.75rem}
    .alert svg{width:1.25rem;height:1.25rem;flex-shrink:0}
    .alert-error{background:rgba(220,38,38,0.1);border:1px solid rgba(220,38,38,0.3);color:#fca5a5}
    .success-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(135deg,var(--slate-900),var(--slate-950))}
    .success-card{text-align:center;max-width:28rem}
    .success-icon{width:5rem;height:5rem;background:rgba(16,185,129,0.2);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem}
    .success-icon svg{width:2.5rem;height:2.5rem;color:var(--emerald-400)}
    .success-title{font-size:1.875rem;font-weight:700;color:white;margin-bottom:1rem}
    .success-message{color:var(--slate-400);margin-bottom:.5rem}
    .reference-id{font-family:monospace;background:rgba(139,92,246,0.2);padding:.5rem 1rem;border-radius:.5rem;font-size:1.125rem;font-weight:600;color:var(--violet-400);margin-bottom:2rem;display:inline-block}
    .site-card,.stall-card{background:rgba(15,23,42,0.5);border:1px solid rgba(255,255,255,0.1);border-radius:.75rem;padding:1.5rem;margin-bottom:1rem}
    .site-card-header,.stall-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
    .site-card-title,.stall-card-title{font-weight:600;color:white;display:flex;align-items:center;gap:.5rem}
    .site-card-title svg,.stall-card-title svg{color:var(--violet-400);width:1rem;height:1rem}
    .btn-remove{padding:.5rem;color:var(--slate-400);background:transparent;border:none;cursor:pointer;border-radius:.375rem;transition:all .2s ease}
    .btn-remove:hover{color:var(--rose-500);background:rgba(244,63,94,0.1)}
    .btn-remove svg{width:1rem;height:1rem}
    .btn-add-site,.btn-add-stall{width:100%;padding:1rem;border:2px dashed rgba(255,255,255,0.2);background:transparent;color:var(--slate-400);border-radius:.75rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;font-weight:500;font-family:inherit;font-size:.875rem}
    .btn-add-site:hover,.btn-add-stall:hover{border-color:var(--violet-500);color:var(--violet-400);background:rgba(139,92,246,0.05)}
    .review-section{background:rgba(15,23,42,0.5);border:1px solid rgba(255,255,255,0.1);border-radius:.75rem;padding:1rem;margin-bottom:1rem}
    .review-section h4{font-weight:600;color:white;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem;font-size:.875rem}
    .review-section h4 svg{color:var(--violet-400);width:1rem;height:1rem}
    .review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem 2rem}
    @media(max-width:600px){.review-grid{grid-template-columns:1fr}}
    .review-item dt{font-size:.75rem;color:var(--slate-500)}
    .review-item dd{color:white;font-weight:500;font-size:.875rem}
    .review-sub{padding:.75rem;background:rgba(15,23,42,0.5);border-radius:.5rem;margin-bottom:.5rem}
    .review-sub strong{color:white;font-size:.875rem}
    .review-sub p{color:var(--slate-400);font-size:.8125rem;margin-top:.25rem}
    .step-content{display:none}
    .step-content.active{display:block;animation:fadeIn .3s ease}
    @keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
    .animate-spin{animation:spin 1s linear infinite}
    @keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
    .info-note{font-size:.8125rem;color:var(--slate-500);padding:.75rem 1rem;background:rgba(139,92,246,0.05);border:1px solid rgba(139,92,246,0.15);border-radius:.5rem;margin-bottom:1.5rem;display:flex;align-items:flex-start;gap:.5rem}
    .info-note svg{width:1rem;height:1rem;color:var(--violet-400);flex-shrink:0;margin-top:.1rem}


/* ========================================
   PAGE: MAP VIEWER
   ======================================== */
.map-viewer{max-width:1200px;margin:0 auto;padding:2rem 1rem}
    .viewer-header{text-align:center;margin-bottom:2rem}
    .viewer-header h1{font-size:2rem;font-weight:700;color:var(--slate-900);margin-bottom:.5rem}
    .viewer-header p{color:var(--slate-600)}
    
    .map-container{background:white;border-radius:1rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);overflow:hidden}
    .map-toolbar{padding:1rem;border-bottom:1px solid var(--slate-200);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
    .toolbar-left{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
    .map-title{font-weight:600;color:var(--slate-900)}
    .map-stats{font-size:.875rem;color:var(--slate-500)}
    .toolbar-right{display:flex;gap:.5rem}
    
    .map-viewer .btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;cursor:pointer;transition:all .2s;border:none;font-family:inherit}
    .map-viewer .btn svg{width:1rem;height:1rem}
    .map-viewer .btn-primary{background:var(--violet-600);color:white}
    .map-viewer .btn-primary:hover{background:var(--violet-500)}
    .map-viewer .btn-outline{background:white;color:var(--slate-700);border:1px solid var(--slate-300)}
    .map-viewer .btn-outline:hover{background:var(--slate-50)}
    
    .map-wrapper{position:relative;overflow:auto;padding:2rem;background:var(--slate-50)}
    .map-canvas{position:relative;background:white;border-radius:.5rem;box-shadow:0 2px 4px rgba(0,0,0,.1);margin:0 auto}
    
    .stall{position:absolute;display:flex;align-items:center;justify-content:center;color:white;font-weight:600;font-size:.75rem;border-radius:.25rem}
    .amenity{position:absolute;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}
    .amenity svg{width:16px;height:16px;color:white}
    
    .legend{padding:1rem;border-top:1px solid var(--slate-200);display:flex;flex-wrap:wrap;gap:1.5rem}
    .legend-section h4{font-size:.75rem;font-weight:600;color:var(--slate-500);text-transform:uppercase;margin-bottom:.5rem}
    .legend-items{display:flex;flex-wrap:wrap;gap:.75rem}
    .legend-item{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:var(--slate-600)}
    .legend-color{width:1rem;height:1rem;border-radius:.25rem}
    .legend-icon{width:1.25rem;height:1.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center}
    .legend-icon svg{width:.75rem;height:.75rem;color:white}
    
    .upload-area{padding:4rem 2rem;text-align:center;border:2px dashed var(--slate-300);border-radius:.75rem;margin:2rem;cursor:pointer;transition:all .2s}
    .upload-area:hover{border-color:var(--violet-400);background:var(--violet-50)}
    .upload-area svg{width:3rem;height:3rem;color:var(--slate-400);margin:0 auto 1rem}
    .upload-area h3{color:var(--slate-700);margin-bottom:.5rem}
    .upload-area p{color:var(--slate-500);font-size:.875rem}
    .upload-area input{display:none}
    
    .no-map{padding:4rem 2rem;text-align:center}
    .no-map svg{width:4rem;height:4rem;color:var(--slate-300);margin:0 auto 1rem}
    .no-map h3{color:var(--slate-700);margin-bottom:.5rem}
    .no-map p{color:var(--slate-500)}
    
    @media print{
        body{background:white}
        .map-viewer{max-width:100%;padding:0}
        .viewer-header,.map-toolbar,.toolbar-right,.upload-area{display:none!important}
        .map-container{box-shadow:none;border-radius:0}
        .map-wrapper{padding:1rem}
        .legend{padding:1rem 0}
    }
    body.page-template-page-tekram-map-viewer { padding-top: 2rem; }


/* ========================================
   PAGE: LIGHT TEMPLATES (for plugin shortcodes)
   ======================================== */
/* Override dark theme for this page only */
.tekram-light-page {
    background: #ffffff !important;
    color: #1e293b !important;
    min-height: calc(100vh - 200px);
    padding-top: 5rem;
}

.tekram-light-page .light-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Ensure shortcode content displays properly */
.tekram-light-page .light-content * {
    color: inherit;
}

/* Common form element resets for plugins */
.tekram-light-page input,
.tekram-light-page select,
.tekram-light-page textarea,
.tekram-light-page button {
    color: #1e293b;
}

.tekram-light-page a {
    color: #7c3aed;
}

.tekram-light-page a:hover {
    color: #6d28d9;
}

/* Tables */
.tekram-light-page table {
    color: #1e293b;
}

.tekram-light-page th,
.tekram-light-page td {
    color: #1e293b;
}

/* Override any inherited dark backgrounds from parent elements */
body.tekram-light-bg {
    background: #ffffff !important;
}

/* Override dark theme for this page only */
.tekram-light-fullwidth {
    background: #ffffff !important;
    color: #1e293b !important;
    min-height: calc(100vh - 200px);
    padding-top: 5rem;
}

.tekram-light-fullwidth .fullwidth-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

/* For content that needs some padding */
.tekram-light-fullwidth .fullwidth-content > .container,
.tekram-light-fullwidth .fullwidth-content > [class*="container"] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Ensure shortcode content displays properly */
.tekram-light-fullwidth * {
    color: inherit;
}

/* Common form element styling for plugins */
.tekram-light-fullwidth input:not([type="submit"]):not([type="button"]),
.tekram-light-fullwidth select,
.tekram-light-fullwidth textarea {
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.tekram-light-fullwidth input[type="submit"],
.tekram-light-fullwidth button[type="submit"] {
    color: #fff;
}

.tekram-light-fullwidth a {
    color: #7c3aed;
}

.tekram-light-fullwidth a:hover {
    color: #6d28d9;
}

/* Tables */
.tekram-light-fullwidth table {
    color: #1e293b;
    background: #ffffff;
}

.tekram-light-fullwidth th {
    color: #1e293b;
    background: #f8fafc;
}

.tekram-light-fullwidth td {
    color: #1e293b;
}

/* Cards and panels */
.tekram-light-fullwidth .card,
.tekram-light-fullwidth .panel,
.tekram-light-fullwidth [class*="card"],
.tekram-light-fullwidth [class*="panel"] {
    background: #ffffff;
    color: #1e293b;
}

/* Override any inherited dark backgrounds */
body.tekram-light-bg-fullwidth {
    background: #ffffff !important;
}

/* Ensure section labels/titles centred in sub-page sections */
.section .section-header {
    text-align: center;
}
.section .section-label {
    display: block;
    text-align: center;
}
.section .section-title {
    text-align: center;
}
.section .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Welcome-hero text overrides (ensure white text on dark hero) ─── */
.welcome-hero .hero-badge span { color: var(--violet-400); }
.welcome-hero .hero-tagline { color: var(--violet-400); }
.welcome-hero .hero-subtitle { color: var(--slate-400); }
.welcome-hero .hero-content { position: relative; z-index: 10; }

/* ─── Contact hero text overrides ─── */
.contact-hero .section-label { color: var(--cyan-400); }
.contact-hero h1 { color: #fff; }

/* ─── Sub-page section content on warm body ─── */
.section h3, .step-card h3, .detail-card h4 { color: var(--stone-900); }
.section p, .step-card p, .detail-card p { color: var(--stone-600); }
.flow-num { color: var(--violet-500); }
.flow-item h4 { color: var(--stone-900); }
.flow-item p { color: var(--stone-600); }

/* ─── Contact form input styling (dark inputs = intentional design) ─── */
.contact-form-card { background: #fff; border: 1px solid var(--card-border); border-radius: 1.5rem; }
.contact-form-card h2 { color: var(--stone-900); }
.contact-form-card .subtitle { color: var(--stone-500); }
.form-group label { color: var(--stone-600); }
.form-group label .required { color: var(--rose-500); }