/* ========================================
   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;
    
    /* ── Caloundra Markets Brand Colours ── */
    --cm-seafoam:  #bae2dd;
    --cm-yellow:   #f4cb56;
    --cm-pink:     #ff519a;
    --cm-teal:     #72989f;
    --cm-coral:    #ff7852;
    --cm-lime:     #cae43b;
    --cm-teal-dark: #1c3a3d;

    /* 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;
}

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(--cm-pink), var(--cm-coral), var(--cm-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark {
    background: linear-gradient(to right, var(--cm-teal), var(--cm-seafoam));
    -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(--cm-pink), var(--cm-coral));
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(255, 81, 154, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, #e63d85, #e85e38);
    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;
    background: var(--slate-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.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(255, 81, 154, 0.2);
}

.hero-orb-2 {
    bottom: 25%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: rgba(186, 226, 221, 0.2);
    animation-delay: 1s;
}

.hero-orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(255, 120, 82, 0.08);
    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;
}

.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;
    }
}

.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;
}

.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);
}


/* ========================================
   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: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logo-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-tagline {
    color: #ffffff;
    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: #ffffff;
    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: #ffffff;
    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(--cm-pink), var(--cm-coral)); color: white; }
.tekram-header .hdr-btn-primary:hover { background: linear-gradient(to right, #e63d85, #e85e38); }
.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%; }
.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: #ffffff; 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: #ffffff; font-size: 0.875rem; }
.tekram-footer .footer-contact-item svg { width: 1rem; height: 1rem; }
.tekram-footer .footer-column h4 { color: #ffffff; 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: #ffffff; 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: 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: 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); }

/* ========================================
   MOBILE MENU OPTIMISATION
   Add to tekram-styles.css or style.css
   ======================================== */

/* ── Full-screen mobile panel ── */
@media (max-width: 767px) {

    /* Make the mobile menu a full-viewport overlay */
    .tekram-header .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* dynamic viewport height — accounts for browser chrome on mobile */
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem; /* top padding clears the navbar */
        z-index: 9998;
        overflow-y: auto;
        display: none;
        flex-direction: column;
        
        /* Smooth slide-down animation */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .tekram-header .mobile-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Keep the hamburger/close button above the overlay */
    .tekram-header .mobile-menu-btn {
        position: relative;
        z-index: 9999;
    }

    /* Ensure the navbar stays above the overlay */
    .tekram-header .navbar {
        position: relative;
        z-index: 9999;
    }

    /* ── Navigation links — larger touch targets ── */
    .tekram-header .mobile-menu a {
        display: block;
        color: var(--slate-300);
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .tekram-header .mobile-menu a:hover,
    .tekram-header .mobile-menu a:active {
        color: #ffffff;
        padding-left: 0.5rem;
    }

    /* ── CTA button section ── */
    .tekram-header .mobile-cta {
        margin-top: auto; /* push to bottom of the flex panel */
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    /* ── Fix button text centering ── */
    .tekram-header .mobile-cta .hdr-btn {
        display: flex;               /* override inline-flex */
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;        /* taller touch target */
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0.625rem;
        box-sizing: border-box;
    }

    /* Prevent body scroll when menu is open */
    body.tekram-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ========================================
   HOME PAGE — MISSING SECTION STYLES
   Gravity Projex — added to resolve rendering bug
   ======================================== */

/* ── Hero animation safety net ── */
/* If prefers-reduced-motion or animation fails, content must still be visible */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-tagline,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-trust,
    .hero-preview {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Features Section ── */
.features {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--body-bg);
}

.features-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--cm-teal);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg,
.feature-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.feature-icon.violet   { background: linear-gradient(135deg, var(--cm-pink), #c4276e); }
.feature-icon.fuchsia  { background: linear-gradient(135deg, var(--cm-coral), #c94a2a); }
.feature-icon.cyan     { background: linear-gradient(135deg, var(--cm-teal), #4a7a82); }
.feature-icon.emerald  { background: linear-gradient(135deg, var(--cm-lime), #8fb520); }
.feature-icon.orange   { background: linear-gradient(135deg, var(--cm-yellow), #d4a020); }
.feature-icon.rose     { background: linear-gradient(135deg, var(--cm-seafoam), #72989f); }
.feature-icon.indigo   { background: linear-gradient(135deg, var(--indigo-500), #4338ca); }
.feature-icon.sky      { background: linear-gradient(135deg, var(--sky-500), #0284c7); }
.feature-icon.teal     { background: linear-gradient(135deg, var(--teal-500), #0d9488); }
.feature-icon.pink     { background: linear-gradient(135deg, var(--pink-500), #db2777); }

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* ── Section Headers (shared) ── */
.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 1rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cm-teal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--stone-500);
    line-height: 1.7;
    max-width: 36rem;
    margin: 0 auto;
}

/* ── How It Works Section ── */
.how-it-works {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--slate-950);
    overflow: hidden;
}

.how-it-works-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.how-it-works-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.how-it-works-orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 81, 154, 0.15);
}

.how-it-works-orb-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(186, 226, 221, 0.2);
}

/* Override section text colours inside dark how-it-works section */
.how-it-works .section-label  { color: var(--cm-seafoam); }
.how-it-works .section-title  { color: #fff; }

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 81, 154, 0.4);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.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,
.step-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.step-icon.violet   { background: linear-gradient(135deg, var(--cm-pink), #c4276e); }
.step-icon.fuchsia  { background: linear-gradient(135deg, var(--cm-coral), #c94a2a); }
.step-icon.cyan     { background: linear-gradient(135deg, var(--cm-teal), #4a7a82); }

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.625rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.6;
}

/* Override old sub-page generic rules that bleed into dark how-it-works cards */
.how-it-works .step-card h3,
.how-it-works .step-card .step-title { color: #fff !important; }

.how-it-works .step-card p,
.how-it-works .step-card .step-description { color: var(--slate-400) !important; }

/* Connector line between steps on desktop */
@media (min-width: 768px) {
    .step-connector {
        display: none; /* decorative only — replaced by grid layout */
    }
}

/* ── CTA Section ── */
.cta {
    padding: var(--section-padding) 0;
    background: var(--body-bg);
}

.cta-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    background: var(--slate-950);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    pointer-events: none;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-orb-1 {
    top: -20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 81, 154, 0.2);
}

.cta-orb-2 {
    bottom: -20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(186, 226, 221, 0.15);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-white {
    background: #fff;
    color: var(--slate-900);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--slate-100);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* Arrow right icon inside buttons */
.btn .arrow-right {
    transition: transform 0.2s ease;
}

.btn:hover .arrow-right {
    transform: translateX(3px);
}

/* ── Footer tweaks ── */
.tekram-footer .footer-bottom p {
    color: var(--slate-500);
    font-size: 0.8125rem;
}


/* ========================================
   MANAGER PORTAL PAGE — Theme Reset
   Prevents light-page styles bleeding into
   the fixed-position portal UI
   ======================================== */
body.tekram-manager-portal-page .tekram-light-page,
body.tekram-manager-portal-page .light-content {
    background: transparent !important;
    color: unset !important;
    padding-top: 0 !important;
    min-height: unset !important;
}

body.tekram-manager-portal-page .tekram-light-page .light-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove the wildcard colour inherit inside the portal */
body.tekram-manager-portal-page .tekram-light-page .light-content * {
    color: unset;
}

/* Prevent theme link colour from bleeding into portal nav */
body.tekram-manager-portal-page .tekram-light-page a,
body.tekram-manager-portal-page .tekram-light-page a:hover {
    color: unset;
}

/* Suppress theme header/footer on portal page if rendered */
body.tekram-manager-portal-page .tekram-header,
body.tekram-manager-portal-page .tekram-footer {
    display: none !important;
}


/* ========================================
   ACCESSIBILITY — Skip Navigation Link
   Screen-reader visible only; slides into
   view on focus for keyboard users.
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 0.75rem;
    top: 0.75rem;
    width: auto;
    padding: 0.75rem 1.25rem;
    background: var(--cm-teal-dark, #1c3a3d);
    color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 100000;
    overflow: visible;
}

.skip-link {
    position: absolute;
}