:root {
    --gt-violet: #4f48e0;
    --gt-violet-2: #7f73ff;
    --gt-header-offset: 76px;
    --gt-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gt-anim-base: 0.55s;
    --gt-font: Corbel, "M PLUS Rounded 1c", "Segoe UI", Candara, system-ui, sans-serif;
    --gt-footer-bg: linear-gradient(180deg, #1e1e60 0%, #2f2f87 48%, #212157 100%);
    --gt-footer-border: rgba(97, 97, 144, 0.08);
    --gt-footer-accent: rgba(127, 115, 255, 0.22);
    --gt-footer-text: rgba(255, 255, 255, 0.78);
    --gt-footer-muted: rgba(255, 255, 255, 0.58);
    --gt-footer-faint: rgba(255, 255, 255, 0.42);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--gt-header-offset);
}

body.gammaan-site {
    font-family: var(--gt-font);
    padding-top: 0;
}

body.gammaan-site h1,
body.gammaan-site h2,
body.gammaan-site h3,
body.gammaan-site h4 {
    font-family: var(--gt-font);
    letter-spacing: -0.02em;
}

.fw-boldest {
    font-weight: 900 !important;
}

:target,
section[id] {
    scroll-margin-top: calc(var(--gt-header-offset) + 12px);
}

.top-100px {
    top: 100px;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    border-color: rgba(79, 72, 224, 0.14);
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.08);
}

.site-header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 76px;
}

.gammaan-header-menu {
    display: flex;
    min-width: 0;
}

.gammaan-header-toolbar {
    display: flex;
    min-width: 0;
}

.gammaan-header-menu .menu-link {
    color: var(--bs-secondary-color);
}

.gammaan-header-menu .menu-link:hover,
.gammaan-header-menu .menu-link.active,
.gammaan-header-menu .menu-item.here > .menu-link {
    color: var(--gt-violet);
}

.gammaan-header-menu .menu-title {
    white-space: nowrap;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.brand-lockup {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-lockup img {
    height: 44px;
    object-fit: contain;
    width: 44px;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
    line-height: 1.05;
}

.brand-lockup strong {
    font-size: 18px;
}

.brand-lockup small {
    color: var(--bs-secondary-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    min-width: 0;
}

.site-nav a {
    color: var(--bs-secondary-color);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--gt-violet);
}

.site-nav a::after {
    background: linear-gradient(90deg, #4f48e0, #7f73ff);
    border-radius: 999px;
    bottom: -8px;
    content: "";
    height: 2px;
    inset-inline-start: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s var(--gt-ease);
    width: 100%;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-nav-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.mobile-nav-toggle span {
    background: var(--bs-body-color);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform 0.25s var(--gt-ease), opacity 0.25s ease;
    width: 18px;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    box-shadow: 0 18px 36px rgba(16, 24, 40, 0.08);
    padding: 18px 0 24px;
}

.mobile-nav-panel[hidden] {
    display: none !important;
}

.mobile-nav {
    display: grid;
    gap: 6px;
    padding: 0 24px;
}

.mobile-nav a {
    border-radius: 0.5rem;
    color: var(--bs-body-color);
    font-size: 15px;
    font-weight: 700;
    padding: 12px 14px;
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
    background: var(--bs-light);
    color: var(--gt-violet);
}

.mobile-nav-cta {
    margin-top: 8px;
    width: 100%;
}

.header-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.language-flag {
    border-radius: 2px;
    flex-shrink: 0;
    height: 14px;
    object-fit: cover;
    width: 20px;
}

.mobile-toolbar {
    align-items: center;
    border-top: 1px solid var(--bs-border-color);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    padding-top: 16px;
}

.mobile-toolbar .app-navbar-item {
    justify-content: center;
    min-width: 0;
}

.mobile-auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.mobile-user-trigger {
    gap: 10px;
    height: 44px;
    justify-content: flex-start;
    padding: 0 14px;
    width: 100%;
}

.site-cta,
.btn-hero-primary {
    background: linear-gradient(135deg, #4f48e0 0%, #7f73ff 100%);
    border: 0;
    box-shadow: 0 18px 36px rgba(79, 72, 224, 0.28);
    color: #ffffff;
}

.site-cta:hover,
.btn-hero-primary:hover {
    box-shadow: 0 22px 44px rgba(79, 72, 224, 0.34);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero */
.hero-section {
    align-items: center;
    display: flex;
    isolation: isolate;
    margin-top: calc(-1 * 50px);
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 45px 0 60px;
    position: relative;
}

.hero-section > .container-xxl {
    width: 100%;
}

.hero-backdrop {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: -3;
}

.hero-backdrop-image {
    animation: heroBackdropPulse 5s ease-in-out infinite;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
    width: 100%;
}

.hero-backdrop-overlay {
    background:
        linear-gradient(90deg, rgba(34, 23, 102, 0.8) 0%, rgba(117, 96, 252, 0.8) 40%, rgba(25, 17, 72, 0.5) 70%, rgba(65, 56, 163, 0.85) 100%),
        linear-gradient(180deg, rgba(148, 165, 243, 0.12), rgba(102, 133, 255, 0.78));
    inset: 0;
    position: absolute;
}

.hero-section::after {
    background: repeating-linear-gradient(90deg, rgba(91, 77, 221, 0.35) 0 1px, transparent 1px 82px);
    content: "";
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hero-kicker {
    align-items: center;
    color: #d4d2ff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-kicker span {
    background: var(--gt-violet);
    border-radius: 999px;
    box-shadow: 0 0 0 6px rgba(79, 72, 224, 0.16);
    height: 9px;
    width: 9px;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 24px;
    max-width: 820px;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.75;
    max-width: 700px;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.proof-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 660px;
}

.proof-row div {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    padding: 16px;
}

.proof-row strong,
.proof-row span {
    display: block;
}

.proof-row strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.proof-row span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    min-height: 420px;
    position: relative;
}

.hero-visual-card {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    padding: 28px;
}

.hero-visual-card-main {
    margin-inline-start: auto;
    max-width: 380px;
    position: relative;
    z-index: 2;
}

.hero-visual-label {
    color: rgba(255, 255, 255, 0.62);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-visual-card-main strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 22px;
}

.hero-visual-metrics {
    display: grid;
    gap: 12px;
}

.hero-visual-metrics div {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.hero-visual-metrics span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 600;
}

.hero-visual-metrics strong {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.hero-visual-card-float {
    align-items: center;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    max-width: 280px;
    padding: 16px 18px;
    position: absolute;
    z-index: 3;
}

.hero-visual-card-float i {
    color: #d4d2ff;
    font-size: 22px;
}

.hero-visual-card-a {
    inset-inline-start: 0;
    top: 18%;
}

.hero-visual-card-b {
    bottom: 12%;
    inset-inline-end: 0;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    align-items: center;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 50%;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
    transition: opacity 0.45s var(--gt-ease), transform 0.45s var(--gt-ease);
    z-index: 2;
}

.hero-scroll-indicator:hover {
    color: #ffffff;
}

.hero-scroll-indicator.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
}

.hero-scroll-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-scroll-device {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-scroll-device-body {
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 28px rgba(17, 12, 56, 0.28);
    display: block;
    height: 38px;
    position: relative;
    width: 24px;
}

.hero-scroll-device-wheel {
    background: linear-gradient(180deg, #ffffff 0%, #c9c4ff 100%);
    border-radius: 999px;
    display: block;
    height: 7px;
    left: 50%;
    position: absolute;
    top: 8px;
    transform: translateX(-50%);
    width: 4px;
}

.hero-scroll-device-beam {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    border-radius: 999px;
    display: block;
    height: 18px;
    opacity: 0.55;
    width: 2px;
}

.hero-scroll-chevrons {
    display: flex;
    flex-direction: column;
    margin-top: -2px;
}

.hero-scroll-chevron {
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    display: block;
    height: 8px;
    transform: rotate(45deg);
    width: 8px;
}

.hero-scroll-chevron + .hero-scroll-chevron {
    margin-top: -4px;
    opacity: 0.55;
}

/* Inner page hero */
.page-hero {
    background:
        radial-gradient(circle at 18% 0%, rgba(127, 115, 255, 0.22), transparent 34%),
        linear-gradient(180deg, #373796 0%, #382d9a 65%, #434396 100%);
    /* border-bottom: 1px solid #585682; */
    padding: 50px;
}

.page-hero-compact {
    padding-bottom: 48px;
}

.page-hero-inner {
    max-width: 820px;
}

.page-hero h1 {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
    max-width: 720px;
}

.page-eyebrow {
    color: #c4c0ff !important;
    font-weight: 900 !important;
}

/* Small custom components */
.gt-cta-panel {
    background: linear-gradient(to right, #3a3a9b, #7575e9);
    border-color: transparent !important;
}

.gt-cta-panel .card-body {
    background: transparent;
}

.gt-link-arrow::after {
    content: " →";
}

.gt-portfolio-thumb {
    background:
        linear-gradient(135deg, rgba(79, 72, 224, 0.06), rgba(127, 115, 255, 0.1)),
        repeating-linear-gradient(90deg, rgba(79, 72, 224, 0.04) 0 1px, transparent 1px 24px);
    height: 160px;
}

.founder-profile-photo {
    border-radius: 50%;
    display: block;
    height: 100px;
    object-fit: cover;
    object-position: center;
    width: 100px;
}

.site-footer-grid {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(140px, 1fr));
}

.site-footer {
    background: var(--gt-footer-bg);
    border-top: 1px solid var(--gt-footer-accent);
    color: var(--gt-footer-text);
}

.site-footer-top,
.site-footer-main {
    border-bottom: 1px solid var(--gt-footer-border);
}

.site-footer-heading {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.site-footer-hours span {
    color: var(--gt-footer-muted);
    display: block;
    font-size: 0.9375rem;
}

.site-footer-hours strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9375rem;
    font-weight: 600;
}

.site-footer-copy,
.site-footer-legal a {
    color: var(--gt-footer-faint);
    font-size: 0.8125rem;
    text-decoration: none;
}

.site-footer-legal a:hover {
    color: var(--gt-violet-2);
}

.site-footer-social .btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
}

.site-footer-social .btn:hover {
    background: rgba(127, 115, 255, 0.18);
    border-color: rgba(127, 115, 255, 0.35);
    color: #ffffff;
}

/* Scroll reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--gt-anim-base) var(--gt-ease), transform var(--gt-anim-base) var(--gt-ease);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > .reveal-on-scroll:nth-child(2),
.reveal-stagger > *:nth-child(2) .reveal-on-scroll { transition-delay: 0.06s; }
.reveal-stagger > .reveal-on-scroll:nth-child(3),
.reveal-stagger > *:nth-child(3) .reveal-on-scroll { transition-delay: 0.1s; }
.reveal-stagger > .reveal-on-scroll:nth-child(4),
.reveal-stagger > *:nth-child(4) .reveal-on-scroll { transition-delay: 0.14s; }
.reveal-stagger > .reveal-on-scroll:nth-child(5),
.reveal-stagger > *:nth-child(5) .reveal-on-scroll { transition-delay: 0.18s; }
.reveal-stagger > .reveal-on-scroll:nth-child(6),
.reveal-stagger > *:nth-child(6) .reveal-on-scroll { transition-delay: 0.22s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 6px rgba(79, 72, 224, 0.16); }
    50% { box-shadow: 0 0 0 9px rgba(79, 72, 224, 0.08); }
}

@keyframes heroBackdropPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes heroBackdropPulseRtl {
    0%, 100% { transform: scaleX(-1) scale(1); }
    50% { transform: scaleX(-1) scale(1.02); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes heroScrollBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes heroScrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    70% { opacity: 0.2; transform: translateX(-50%) translateY(12px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes heroScrollBeam {
    0%, 100% { opacity: 0.35; transform: scaleY(0.75); }
    50% { opacity: 0.85; transform: scaleY(1); }
}

@keyframes heroScrollChevron {
    0%, 100% { opacity: 0.35; transform: rotate(45deg) translateY(0); }
    50% { opacity: 1; transform: rotate(45deg) translateY(3px); }
}

@keyframes heroScrollChevronDelay {
    0%, 100% { opacity: 0.2; transform: rotate(45deg) translateY(0); }
    50% { opacity: 0.75; transform: rotate(45deg) translateY(3px); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-kicker span { animation: pulseDot 3.5s ease-in-out infinite; }
    .hero-kicker { animation: fadeUp var(--gt-anim-base) var(--gt-ease) 0.05s both; }
    .hero-section h1 { animation: fadeUp var(--gt-anim-base) var(--gt-ease) 0.12s both; }
    .hero-copy { animation: fadeUp var(--gt-anim-base) var(--gt-ease) 0.18s both; }
    .hero-section .d-flex.my-9 { animation: fadeUp var(--gt-anim-base) var(--gt-ease) 0.24s both; }
    .proof-row { animation: fadeUp var(--gt-anim-base) var(--gt-ease) 0.3s both; }
    .hero-visual { animation: fadeUp 0.65s var(--gt-ease) 0.22s both; }
    .hero-visual-card-main,
    .hero-visual-card-float { animation: gentleFloat 8s ease-in-out infinite; }
    .hero-visual-card-a { animation-delay: -2.5s; }
    .hero-visual-card-b { animation-delay: -5s; }
    .hero-scroll-indicator { animation: heroScrollBob 2.8s ease-in-out infinite; }
    .hero-scroll-device-wheel { animation: heroScrollWheel 1.8s ease-in-out infinite; }
    .hero-scroll-device-beam { animation: heroScrollBeam 2.8s ease-in-out infinite; transform-origin: top center; }
    .hero-scroll-chevron:first-child { animation: heroScrollChevron 2.8s ease-in-out infinite; }
    .hero-scroll-chevron + .hero-scroll-chevron { animation: heroScrollChevronDelay 2.8s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 991.98px) {
    .site-header-inner { min-height: 70px; }
    .brand-lockup-text strong { font-size: 17px; }
    .gammaan-header-menu { justify-content: flex-start; }

    .hero-section {
        display: block;
        min-height: auto;
        padding: calc(var(--gt-header-offset) + 54px) 0 96px;
    }

    .hero-section h1 { font-size: 42px; }
    .hero-visual { margin-top: 12px; min-height: 320px; }
    .hero-visual-card-main { margin-inline-start: 0; max-width: none; }
    .hero-visual-card-a { inset-inline-end: 0; inset-inline-start: auto; top: 0; }
    .hero-visual-card-b { bottom: 0; inset-inline-end: auto; inset-inline-start: 0; }
    .page-hero h1 { font-size: 36px; }
    .site-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    :root { --gt-header-offset: 66px; }
    .site-header-inner { min-height: 66px; }
    .brand-lockup img { height: 36px; width: 36px; }
    .brand-lockup small { display: none; }
    .mobile-nav { padding: 0 16px; }
    .hero-section h1 { font-size: 34px; }
    .proof-row { grid-template-columns: 1fr; }
    .site-footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 992px) {
    .mobile-nav-panel {
        display: none !important;
    }
}

/* RTL */
[dir="rtl"] .site-nav a.is-active::after { transform-origin: right; }
[dir="rtl"] .gt-link-arrow::after { content: " ←"; }

[dir="rtl"] .hero-backdrop-overlay {
    background:
        linear-gradient(270deg, rgba(5, 9, 22, 0.90) 0%, rgba(19, 14, 52, 0.80) 40%, rgba(0, 0, 0, 0.50) 70%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(180deg, rgba(7, 11, 29, 0.12), rgba(7, 11, 29, 0.78));
}

[dir="rtl"] .hero-backdrop-image {
    animation-name: heroBackdropPulseRtl;
    object-position: center center;
}

@media (min-width: 992px) {
    [dir="rtl"] .hero-visual {
        align-items: center;
        direction: ltr;
        display: grid;
        gap: 14px 18px;
        grid-template-areas: "main float-a" "main float-b";
        grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
        min-height: 400px;
    }

    [dir="rtl"] .hero-visual-card { direction: rtl; }
    [dir="rtl"] .hero-visual-card-main { animation: none; grid-area: main; justify-self: start; margin-inline-start: 0; max-width: none; }
    [dir="rtl"] .hero-visual-card-float { animation: none; inset: auto; max-width: none; position: relative; width: 100%; }
    [dir="rtl"] .hero-visual-card-a { align-self: end; grid-area: float-a; justify-self: start; }
    [dir="rtl"] .hero-visual-card-b { align-self: start; grid-area: float-b; justify-self: start; }
}

@media (max-width: 991.98px) {
    [dir="rtl"] .hero-visual { display: grid; gap: 12px; min-height: auto; }
    [dir="rtl"] .hero-visual-card-float { inset: auto; max-width: none; position: relative; width: 100%; }
}

/* Arabic typography */
html[lang="ar"] {
    --gt-font: "Noto Kufi Arabic", Corbel, "M PLUS Rounded 1c", Tahoma, "Segoe UI", sans-serif;
}

html[lang="ar"] body.gammaan-site h1,
html[lang="ar"] body.gammaan-site h2,
html[lang="ar"] body.gammaan-site h3,
html[lang="ar"] body.gammaan-site h4 {
    letter-spacing: 0;
    line-height: 1.45;
}

html[lang="ar"] .hero-section h1 { line-height: 1.35; max-width: none; font-size: 44px; }
html[lang="ar"] .hero-kicker,
html[lang="ar"] .hero-visual-label { letter-spacing: 0.04em; }

/* Authentication */
.auth-page {
    background:
        linear-gradient(120deg, rgba(79, 72, 224, 0.08), rgba(32, 201, 151, 0.07)),
        var(--bs-body-bg);
    min-height: 100vh;
    padding-top: 0;
}

.auth-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 16px;
}

.auth-panel {
    width: min(100%, 480px);
    margin-top: 0;
}

.auth-brand {
    align-items: center;
    color: var(--gt-ink);
    display: inline-flex;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none;
}

.auth-brand img {
    height: 44px;
    object-fit: contain;
    width: 44px;
}

.auth-brand span {
    display: grid;
    line-height: 1.05;
}

.auth-brand strong {
    font-size: 1rem;
}

.auth-brand small {
    color: var(--gt-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
    padding: clamp(24px, 5vw, 40px);
}

.auth-copy {
    margin-bottom: 24px;
}

.auth-copy h1 {
    color: var(--gt-ink);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 8px 0 10px;
}

.auth-copy p {
    color: var(--gt-muted);
    font-size: 1rem;
    margin: 0;
}

.auth-google-button {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    color: var(--gt-ink);
    display: flex;
    font-weight: 800;
    gap: 12px;
    justify-content: center;
    min-height: 52px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.auth-google-button:hover {
    border-color: rgba(79, 72, 224, 0.34);
    box-shadow: 0 12px 30px rgba(79, 72, 224, 0.12);
    color: var(--gt-ink);
    transform: translateY(-1px);
}

.auth-google-mark {
    align-items: center;
    border: 1px solid var(--bs-border-color);
    border-radius: 50%;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.auth-google-mark img {
    height: 16px;
    width: 16px;
}

.auth-provider-icon {
    align-items: center;
    border: 1px solid var(--bs-border-color);
    border-radius: 50%;
    display: flex;
    height: 74px;
    justify-content: center;
    margin: 0 auto 24px;
    width: 74px;
}

.auth-provider-icon img {
    height: 34px;
    width: 34px;
}

.auth-divider {
    align-items: center;
    color: var(--gt-muted);
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 12px;
    margin: 24px 0;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    background: var(--bs-border-color);
    content: "";
    flex: 1;
    height: 1px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form .form-control {
    min-height: 50px;
}

.auth-switch,
.auth-legal {
    color: var(--gt-muted);
    font-size: 0.95rem;
    margin: 22px 0 0;
    text-align: center;
}

.auth-switch {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.auth-switch a {
    color: var(--gt-violet);
    font-weight: 800;
    text-decoration: none;
}

.auth-messages {
    margin-bottom: 18px;
}

@media (max-width: 575.98px) {
    .auth-shell {
        align-items: flex-start;
        padding-top: 24px;
    }

    .auth-card {
        padding: 22px;
    }

    .auth-switch {
        align-items: stretch;
        flex-direction: column;
    }
}
