:root {
    --bg-main: #fcfcfc;
    --bg-secondary: #f4f4f3;
    --primary: #2563eb;
    /* Modern balanced blue — light & clean, not electric, not dark navy */
    --primary-hover: #1d4ed8;
    --secondary: #64748b;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent: #4f46e5;
    --border: #e2e8f0;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow: 0 4px 10px -2px rgb(15 23 42 / 0.05), 0 2px 4px -2px rgb(15 23 42 / 0.04);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --text-vibrant: #1e293b;
    --success: #22c55e;
    --icon-color: #4a2c1c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Reserve scrollbar space always — prevents page-shift when modal sets body{overflow:hidden} */
    scrollbar-gutter: stable;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography — professional, consistent scale across the whole site */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.3;
}

h1 { font-size: 2.4rem; line-height: 1.18; }
h2 { font-size: 1.9rem; line-height: 1.25; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; letter-spacing: 0; }

p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Layout */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    padding: 1rem 3.5%;
    gap: 1.75rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

/* Brand logo: icon mark + text lockup (name + tagline) in site fonts */
.logo-icon {
    height: 42px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.logo-lockup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}
.logo-name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.34rem;
    letter-spacing: -0.005em;
    color: #1e293b;
    line-height: 1;
}
.logo-tagline {
    margin-top: 6px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}
/* Footer variant — slightly larger mark */
.logo-icon--footer { height: 50px; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.05rem;
    align-items: center;
}

.nav-link {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Featured nav link — for the primary CTA inside the nav (e.g. Book Live Demo) */
.nav-link-featured {
    color: var(--primary) !important;
    font-weight: 600 !important;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}
.nav-link-featured:hover {
    background: var(--primary);
    color: #fff !important;
}

/* Navbar CTA button — scoped smaller than site-wide .btn so it sits balanced in the bar */
.nav-actions .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.35rem;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 212px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
    border: 1px solid var(--border);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Click-only — dropdowns open on click (.open class via JS), NOT on hover */
.nav-item-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Caret flips up when its dropdown is open (modern toggle affordance) */
.nav-item-dropdown .fa-chevron-down {
    transition: transform 0.25s ease;
}

.nav-item-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.dropdown-item i {
    width: 19px;
    margin-right: 7px;
    font-size: 0.82rem;
    color: var(--primary);
    opacity: 0.7;
}

/* ===================== Top utility bar ===================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.5%;
    background: linear-gradient(90deg, #f97316 0%, #ec4899 52%, #8b5cf6 100%);
    font-size: 0.8rem;
    z-index: 1002;
}

/* Bar-level links/icons ONLY — scoped so dropdown items keep their own dark text.
   (A plain `.topbar a` rule would turn dropdown-item text white → invisible on the
   white dropdown panel.) */
.topbar-left a,
.topbar-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-left a:hover,
.topbar-link:hover {
    color: #fff;
}

.topbar-left i,
.topbar-link > i {
    opacity: 0.85;
}

.topbar-left {
    display: flex;
    gap: 1.75rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Custom topbar icons (hand-drawn SVG — matches Adani's Help / Businesses shapes) */
.tb-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* App-wide menu icon style — hand-drawn line-style SVG, each symbolises its item */
.topbar .dropdown-item {
    display: flex;
    align-items: center;
}

.di-icon {
    width: 16px;
    height: 16px;
    margin-right: 9px;
    color: var(--icon-color);
    flex-shrink: 0;
}

/* The Products trigger also carries .nav-link (for the shared JS click-toggle) —
   neutralise nav-link's dark colour / large size so it fits the dark topbar. */
.topbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
}

.topbar .nav-link:hover {
    color: #fff;
}

.topbar-caret {
    font-size: 0.6rem;
    opacity: 0.65;
}

/* Products mega-menu — opens from the topbar, right-aligned */
.topbar-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    top: 100%;
}

/* Navbar now sits below the 38px utility bar — push page content down to match */
.main-content {
    padding-top: 38px;
}

/* Release-notes custom dropdown filters — same OPEN panel as nav (.dropdown-menu).
   Trigger styled like .ss-select for visual continuity. */
.rn-filter {
    position: relative;
    display: inline-block;
    z-index: 50;
}
.rn-filter.open {
    z-index: 9999;
}
.rn-filter-trigger {
    display: inline-flex !important;
    align-items: center;
    padding: 0.45rem 1rem !important;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text-main) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer;
    height: 36px;
    min-width: 110px;
    transition: border-color 0.18s, background-color 0.18s;
}
.rn-filter-trigger:hover,
.rn-filter.open .rn-filter-trigger {
    border-color: var(--primary);
    background: var(--bg-secondary);
}
.rn-filter .rn-filter-label {
    flex: 1;
}
/* Filter dropdown — panel grows naturally; if list is long, scroll vertically */
.rn-filter .dropdown-menu {
    margin-top: 4px;
    max-height: 320px;
    overflow-y: auto;
}

/* Global styled select — matches nav-dropdown pill style for consistent UI
   (rounded pill + brown line-style chevron same as nav-icon palette) */
.ss-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.45rem 2.1rem 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234a2c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 8 10 12 14 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 14px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    height: 36px;
    min-width: 130px;
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
}

.ss-select:hover {
    border-color: var(--primary);
    background-color: var(--bg-secondary);
}

.ss-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #fff;
}

.ss-select option {
    color: var(--text-main);
    background: #fff;
    font-weight: 400;
}

/* Scroll-to-top floating button — minimal pill, no heavy filled circle */
.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.14);
}

/* Common form input helpers — used by careers.php, quote.php, future forms */
.cf-lbl { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-main); margin-bottom: 0.3rem; }
.cf-req { color: #dc2626; }
.cf-inp {
    width: 100%; box-sizing: border-box; padding: 0.5rem 0.75rem; border: 1px solid var(--border);
    border-radius: var(--radius-md); background: #fff; color: var(--text-main); font-size: 0.88rem;
    font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-inp:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
textarea.cf-inp { resize: vertical; min-height: 70px; line-height: 1.5; }

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-secondary);
}

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
    background: radial-gradient(circle at top right, #f1f5f9 0%, transparent 40%);
}

/* Let the grid items shrink below their content's intrinsic width. Without this,
   the single 1fr column on mobile was forced as wide as the LIVE-UPDATES feed's
   nowrap text (~511px) → horizontal overflow → page rendered in desktop layout
   on real phones. min-width:0 lets the column collapse to the viewport width. */
.hero-content,
.hero-visual { min-width: 0; }

.hero-tagline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
}

/* Cards */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
    border-color: var(--primary);
}

.p-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

.p-table th {
    background: var(--bg-secondary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.p-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

/* Sections */
.section {
    padding: 4.5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-secondary);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    padding: 4.5rem 5% 1.75rem;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border);
}

.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.25rem;
}

.footer h4 {
    color: #1a1622;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-transform: none;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
}

.footer a,
.footer a:link,
.footer a:visited,
.footer a:active {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #222;
    text-decoration: underline;
}

.footer .logo,
.footer .logo:link,
.footer .logo:visited {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Logo is not a text link — keep it clean, no underline on hover */
.footer .logo:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Social follow */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.25rem;
}
.footer-social .footer-social-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1622;
}
.footer .footer-social a,
.footer .footer-social a:link,
.footer .footer-social a:visited {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    color: #0A66C2;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.footer .footer-social a:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-bottom {
    max-width: 1240px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 10, 60, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 1.75rem;
}

.footer-bottom a,
.footer-bottom a:link,
.footer-bottom a:visited {
    font-size: 0.78rem;
    color: #64748b;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Footer — Scan-to-visit QR block */
.footer-qr-box {
    display: inline-block;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.footer-qr-box img {
    display: block;
    width: 128px;
    height: 128px;
}

.footer-qr-note {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.65;
    margin-top: 0.9rem;
    max-width: 210px;
}

.footer-qr-note strong {
    color: var(--primary);
    font-weight: 600;
}

/* Pulsing LIVE Indicator */
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse 2s infinite;
}

/* Hero "Live Updates" feed card */
.hero-dashboard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.hero-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}
.hero-feed-title {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary);
}
.hero-feed-all {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}
.hero-feed-all:hover { color: var(--primary); }
.hero-feed-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
}
.hero-feed {
    position: relative;
    overflow: hidden;
    height: 304px;            /* viewport — shows 4 items, rest scroll through */
}
.hero-feed-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}
.hero-feed-item {
    height: 76px;
    box-sizing: border-box;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}
.hero-feed-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.hero-feed-body { min-width: 0; }
.hero-feed-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-feed-tag {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 2px 8px;
    border-radius: 999px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.p-table tr:hover {
    background-color: #f8fafc;
}

/* Animations for new content */
.animated {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE — tablet + mobile
   ============================================================ */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.4rem;
    padding: 0.3rem 0.5rem;
    line-height: 1;
}

/* Close button + CTA item inside mobile drawer — hidden on desktop */
.nav-close-item { display: none; }
.nav-cta-item { display: none; }
.nav-close-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-main);
    cursor: pointer;
    height: 36px;
    padding: 0 0.95rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
    margin-left: auto;
    letter-spacing: 0.02em;
}
.nav-close-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.nav-close-btn i {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}
.nav-close-btn:hover i {
    transform: translateX(3px);
}

/* Large tablet / small desktop */
@media (max-width: 1024px) {
    .navbar { padding: 1rem 3%; gap: 1.5rem; }
    .nav-links { gap: 1.1rem; }
    .nav-link { font-size: 0.84rem; }
    .nav-actions .btn { font-size: 0.8rem; padding: 0.55rem 1.1rem; }
    .hero {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
        padding: 7rem 5% 3rem !important;
    }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .hero-description { max-width: 100% !important; margin: 0 auto 1.5rem !important; }

    /* The hero is centered on mobile (above), but the LIVE-UPDATES card must stay
       left-aligned — otherwise the inline-block pills inherit text-align:center and
       sit at different offsets per pill. Also align each feed dot with its title. */
    .hero-dashboard { text-align: left; }
    .hero-feed-item { align-items: flex-start; padding-top: 16px; }
    .hero-feed-dot { margin-top: 7px; }
}

/* Tablet & mobile */
@media (max-width: 768px) {
    /* Hamburger appears */
    .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

    /* Slide-out nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;            /* dvh = visible viewport, so the bottom CTA isn't hidden behind mobile browser chrome */
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.25rem 3rem;  /* extra bottom room so "Contact sales" is fully scrollable into view */
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
        z-index: 99;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: stretch !important;
    }
    .nav-links.open { right: 0; }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 0;
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-link { font-size: 1rem; display: block; }

    /* Close button row — visible only on mobile drawer */
    .nav-close-item {
        display: flex !important;
        justify-content: flex-end;
        border-bottom: 1px solid var(--border) !important;
        padding: 0.5rem 0 0.85rem !important;
        margin-bottom: 0.25rem;
    }

    /* Book Live Demo CTA inside drawer */
    .nav-cta-item {
        display: block !important;
        border-bottom: none !important;
        padding: 1rem 0 0.5rem !important;
        margin-top: 0.5rem;
    }
    .nav-cta-item .btn {
        font-size: 0.92rem !important;
        padding: 0.7rem 1rem !important;
    }

    /* Hide the outside Book Live Demo (drawer me hai ab) */
    .nav-actions > .btn { display: none; }

    /* Dropdown menus inline (no floating) on mobile */
    .nav-item-dropdown { position: static; }
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0.4rem 0 0 1rem !important;
        min-width: 0 !important;
        background: transparent !important;
    }
    .dropdown-item { padding: 0.45rem 0 !important; font-size: 0.9rem !important; }

    /* Scrim behind open nav */
    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 98;
    }
    body.nav-open { overflow: hidden; }

    /* Tighter navbar */
    .navbar { padding: 0.85rem 4%; gap: 0.75rem; }
    .nav-actions { display: flex; align-items: center; gap: 0.5rem; }
    .nav-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
    .logo { font-size: 1.25rem; }
    .logo-icon { height: 40px; }
    .logo-icon--footer { height: 44px; }
    .logo-name { font-size: 1.35rem; }
    .logo-tagline { font-size: 0.55rem; letter-spacing: 0.15em; }

    /* Topbar — compact on mobile: hide email + the wide Businesses mega-menu */
    .topbar { padding: 0 4%; font-size: 0.7rem; }
    .topbar-left { gap: 1rem; }
    .topbar-left a:last-child { display: none; }
    .topbar-right { gap: 1rem; }
    .topbar-businesses { display: none; }

    /* Help dropdown stays usable on mobile — keep it a floating menu,
       not the hamburger-drawer's inline style that .dropdown-menu gets here */
    .topbar .dropdown-menu {
        position: absolute !important;
        left: auto !important;
        right: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid var(--border) !important;
        padding: 0.4rem !important;
        min-width: 212px !important;
        background: #fff !important;
    }
    .topbar .nav-item-dropdown.open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Sections */
    .section { padding: 4.5rem 5% 2rem !important; }
    .section-title { font-size: 1.65rem !important; margin-bottom: 1.5rem !important; }

    /* Cards padding */
    .card { padding: 1.25rem; }

    /* Hero */
    .hero { padding: 6rem 5% 2.5rem !important; }
    .hero-title { font-size: 2rem !important; }
    .hero-description { font-size: 1rem !important; }
    fieldset > div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

    /* Footer 5-col → 2-col with brand spanning full row */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    .footer-legal { flex-wrap: wrap; gap: 1rem !important; }

    /* Scroll-top button smaller */
    .scroll-top-btn { width: 40px; height: 40px; bottom: 1rem; right: 1rem; font-size: 0.85rem; }
}

/* Small mobile */
@media (max-width: 480px) {
    .navbar { padding: 0.7rem 3.5%; }
    .nav-actions .btn { padding: 0.5rem 0.85rem; font-size: 0.78rem; }
    .logo { font-size: 1.1rem; }
    .section { padding: 4rem 4% 1.5rem !important; }
    .hero { padding: 5.5rem 4% 2rem !important; }
    .hero-title { font-size: 1.6rem !important; }
    .section-title { font-size: 1.4rem !important; }
    .card { padding: 1rem; }
    .topbar { padding: 0 3.5%; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-brand { grid-column: auto; }
}

/* ─────────────────────────────────────────────────────────────
   Release Notes ("What's New") — modern release feed rendering
   ───────────────────────────────────────────────────────────── */
.rn-note {
    position: relative;
    padding: 1rem 1.15rem 1rem 1.4rem !important;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.rn-note::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f97316, #ec4899 50%, #8b5cf6);
}
.rn-note:hover {
    box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.14);
    transform: translateY(-1px);
}

/* Header row: date · product · title */
.rn-note > div:first-of-type {
    gap: 0.55rem !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.6rem !important;
}
.rn-note > div:first-of-type > span:first-child {
    background: linear-gradient(120deg, #f97316, #ec4899, #8b5cf6) !important;
    color: #fff !important;
    padding: 0.28rem 0.7rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.01em;
    border: none;
}
.rn-note > div:first-of-type > span:nth-child(2) {
    background: rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 0.26rem 0.65rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
}
.rn-note > div:first-of-type > span:nth-child(3) {
    font-size: 0.88rem !important;
}

/* Section badge pills (NEW FEATURES / FIXED BUGS / INSTRUCTIONS) */
.rn-note > div:last-of-type > div > span:first-child {
    padding: 0.24rem 0.7rem !important;
    border-radius: 999px !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
}

/* Tighter section spacing */
.rn-note > div:last-of-type {
    gap: 0.7rem !important;
}
.rn-note > div:last-of-type > div > div {
    font-size: 0.85rem !important;
}

/* HTML content inside each section (admin-typed via WYSIWYG) */
.rn-note ul,
.rn-note ol {
    padding-left: 1.3rem;
    margin: 0.35rem 0;
}
.rn-note li {
    margin-bottom: 0.3rem;
    line-height: 1.55;
}
.rn-note li:last-child { margin-bottom: 0; }
.rn-note p {
    margin: 0.4rem 0;
    line-height: 1.55;
}
.rn-note p:first-child { margin-top: 0; }
.rn-note p:last-child  { margin-bottom: 0; }

/* Highlight terms wrapped in <strong> (Temporary ISIN, New ISIN, etc.) */
.rn-note strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Sub-heading style: when a paragraph contains ONLY <strong>
   (e.g. admin types "First Step", "Second Step" as standalone bold lines) */
.rn-note p:has(> strong:only-child) {
    margin: 0.7rem 0 0.25rem;
    padding-top: 0.45rem;
    border-top: 1px dashed var(--border);
}
.rn-note p:has(> strong:only-child):first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.rn-note p:has(> strong:only-child) > strong {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

/* Image framing — admin-uploaded screenshots from /release_notes_images/ */
.rn-note img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: 340px;
    height: auto;
    margin: 0.75rem auto;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
}
.rn-note img:hover {
    transform: scale(1.015);
    box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.25);
}

/* Tables (if admin pastes one) */
.rn-note table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.88rem;
}
.rn-note th, .rn-note td {
    border: 1px solid var(--border);
    padding: 0.55rem 0.7rem;
    text-align: left;
}
.rn-note th {
    background: var(--bg-secondary);
    font-weight: 700;
}

/* Mobile tightening */
@media (max-width: 768px) {
    .rn-note { padding: 1.1rem 1.1rem 1.1rem 1.5rem !important; }
    .rn-note::before { left: 0; top: 10px; bottom: 10px; width: 3px; }
    .rn-note img { max-height: 280px; }
}

/* Contact sales nav button — animated sunset gradient + white text.
   Colors continuously shift through orange → pink → purple (all read well with white). */
.nav-actions .btn-outline,
.nav-cta-item .btn-outline {
    background: linear-gradient(120deg, #f97316 0%, #ec4899 28%, #8b5cf6 56%, #ec4899 80%, #f97316 100%);
    background-size: 300% 300%;
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px -6px rgba(236, 72, 153, 0.45);
    animation: cs-sunset-shift 8s ease-in-out infinite;
    transition: box-shadow 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}
.nav-actions .btn-outline:hover,
.nav-cta-item .btn-outline:hover {
    box-shadow: 0 8px 22px -8px rgba(236, 72, 153, 0.55);
    transform: translateY(-1px);
    filter: brightness(1.05);
}
@keyframes cs-sunset-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Nav vertical divider — separates "core / back office" cluster from "support / services" cluster */
.nav-links .nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    align-self: center;
    margin: 0 0.25rem;
    list-style: none;
    padding: 0;
}
@media (max-width: 1024px) {
    .nav-links .nav-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
}

/* ─────────────────────────────────────────────────────────────
   Contact page (Adani-inspired layout · Shilpi colours)
   ───────────────────────────────────────────────────────────── */
.contact-page {
    max-width: 1480px;
    margin: 0 auto;
    padding: 2rem 3% 5rem;
}
.contact-crumb {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.contact-crumb a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-crumb a:hover { color: var(--primary); }
.contact-crumb .crumb-sep { margin: 0 0.5rem; opacity: 0.6; }
.contact-crumb .crumb-current { color: var(--text-muted); }

.contact-h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0.25rem 0 1.5rem;
}

.contact-hero {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5ed 0%, #fdf2f8 50%, #f5f3ff 100%);
    box-shadow: 0 10px 28px -16px rgba(15, 23, 42, 0.18);
    margin-bottom: 3rem;
}
.contact-hero-art { position: absolute; inset: 0; }
.contact-hero-art svg { width: 100%; height: 100%; display: block; }
.contact-hero-tag {
    position: absolute;
    left: 28px; bottom: 22px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    display: flex; align-items: center; gap: 0.55rem;
}
.ch-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* Two-column body */
.contact-body {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

/* LEFT — Reach out (3 offices stacked) */
.contact-reach { padding-top: 0.5rem; }
.contact-reach-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

/* Per-office card */
.cr-office {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.cr-office:first-of-type { padding-top: 0; }
.cr-office-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.55rem;
}
.cr-office-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1px;
}
.cr-office-city {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}
.cr-office-addr {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    padding-left: 50px;
}
.cr-office-phones {
    padding-left: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    font-size: 0.82rem;
}
.cr-office-phones a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}
.cr-office-phones a:hover { color: var(--primary); }

/* Email + business hours meta block */
.cr-meta {
    padding-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}
.cr-meta-row {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.cr-meta-row strong {
    display: block;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1px;
    font-size: 0.85rem;
}

/* Shared icon styles */
.cr-icon {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--icon-color);
    display: flex; align-items: center; justify-content: center;
}
.cr-icon svg { width: 18px; height: 18px; }
.cr-icon-sm { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
.cr-icon-sm svg { width: 16px; height: 16px; }

.cr-meta-row a { color: var(--text-muted); text-decoration: none; }
.cr-meta-row a:hover { color: var(--primary); }
.cr-link-u { text-decoration: underline !important; text-underline-offset: 3px; color: var(--primary) !important; font-weight: 500; }

/* RIGHT — Form card */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem 1.75rem 1.5rem;
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.12);
}
.cf-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.35rem; }
.cf-sub { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 1.15rem; line-height: 1.55; }

.cf-flash {
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}
.cf-flash-ok  { background: rgba(34, 197, 94, 0.1);  color: #166534; border: 1px solid rgba(34, 197, 94, 0.3); }
.cf-flash-err { background: rgba(239, 68, 68, 0.08); color: #991b1b; border: 1px solid rgba(239, 68, 68, 0.25); }

.cf-form { display: grid; gap: 0.85rem; }
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.cf-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cf-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.01em;
}
.cf-opt { color: var(--text-muted); font-weight: 400; font-size: 0.7rem; }

.cf-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    background: #fff;
    color: var(--text-main);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cf-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.cf-input.cf-err {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.cf-textarea { resize: vertical; min-height: 100px; }

.cf-mobile-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cf-mobile-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.cf-mobile-wrap.cf-err { border-color: #ef4444; }
.cf-cc {
    display: flex; align-items: center;
    gap: 5px;
    padding: 0 0.75rem;
    background: var(--bg-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    border-right: 1px solid var(--border);
    white-space: nowrap;
}
.cf-flag-in { font-size: 0.95rem; line-height: 1; }
.cf-input-flat {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.cf-input-flat:focus { box-shadow: none !important; }

.cf-submit {
    margin-top: 0.35rem;
    padding: 0.8rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s, transform 0.05s;
    box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.55);
}
.cf-submit:hover  { background: var(--primary-hover); }
.cf-submit:active { transform: translateY(1px); }

/* Responsive */
@media (max-width: 900px) {
    .contact-body { grid-template-columns: 1fr; gap: 2rem; }
    .contact-h1 { font-size: 1.85rem; }
    .contact-hero { height: 200px; border-radius: 18px; }
    .contact-form-card { padding: 1.5rem 1.25rem; border-radius: 16px; }
    .cf-row { grid-template-columns: 1fr; }
}

