﻿/* Project design tokens */
:root {
    --color-primary: #F0C430;
    --color-accent: #674FA7;
    --color-accent-hover: #55418e;
    --color-base: #FFFFFF;
    --color-border: #D1D5DB;
    --color-text-primary: #111827;
    --color-text-secondary: #6B7280;
    --color-section-bg: #F5F7FA;
    --font-stack: Montserrat, Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.08);
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
}

/* Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-base);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-spacing {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--color-section-bg);
}

#services,
#pricing,
#process,
#contact,
#conversation {
    scroll-margin-top: 80px;
}

.text-center { text-align: center; }
.mt-32 { margin-top: var(--space-xl); }
.mt-48 { margin-top: var(--space-2xl); }
.mb-32 { margin-bottom: var(--space-xl); }

.text--highlight { color: var(--color-accent); }
.text--accent { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.text--accent:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
    font-family: Montserrat, sans-serif;
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-base);
}

.btn--accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(103, 79, 167, 0.25);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--outline:hover {
    background-color: rgba(103, 79, 167, 0.06);
    transform: translateY(-1px);
}

.btn--on-gold {
    background-color: var(--color-base);
    border-color: var(--color-base);
    color: var(--color-accent);
}

.btn--on-gold:hover {
    background-color: rgba(255, 255, 255, 0.88);
    border-color: var(--color-base);
    color: var(--color-accent-hover);
}

.btn--large {
    padding: 12px 28px;
    font-size: 16px;
}

.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Badge */
.badge {
    display: inline-block;
    background-color: var(--color-base);
    color: var(--color-text-primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
}

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

.navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.navbar__logo-img {
    height: 44px;
    margin-right: 12px;
}

.navbar__logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-md);
}

.navbar__toggle:hover,
.navbar__toggle:focus-visible {
    background: var(--color-section-bg);
}

.navbar__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar.is-open .navbar__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .navbar__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.navbar__link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.navbar__link:hover,
.navbar__link:focus-visible {
    color: var(--color-accent);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #f7d870 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.35) 0, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(103, 79, 167, 0.12) 0, transparent 36%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero__headline {
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero__features {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero__feature {
    background: rgba(255, 255, 255, 0.45);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero__subheadline {
    font-size: 18px;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    font-weight: 500;
    max-width: 560px;
}

.hero__ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
}

.engine-panel {
    background: var(--color-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.engine-panel__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.engine-panel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.engine-panel__dot:nth-child(1) { background: #f87171; }
.engine-panel__dot:nth-child(2) { background: var(--color-primary); }
.engine-panel__dot:nth-child(3) { background: #86efac; }

.engine-panel__title {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.engine-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--color-section-bg);
    margin-bottom: 12px;
}

.engine-card:last-child {
    margin-bottom: 0;
}

.engine-card__bar {
    width: 4px;
    align-self: stretch;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    flex-shrink: 0;
}

.engine-card:nth-child(2) .engine-card__bar { background: var(--color-primary); }
.engine-card:nth-child(3) .engine-card__bar { background: var(--color-accent); }
.engine-card:nth-child(4) .engine-card__bar { background: #86d3b8; }

.engine-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    margin: 0 0 4px;
}

.engine-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text-primary);
}

/* Core Services Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.pillar-card {
    background: var(--color-base);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--color-border);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.pillar-card__icon-wrap {
    margin-bottom: var(--space-lg);
    height: 72px;
    width: 72px;
    background: rgba(103, 79, 167, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-accent);
}

.pillar-card__icon-wrap i {
    width: 32px;
    height: 32px;
    stroke-width: 1.75px;
}

.pillar-card__title {
    margin-bottom: 8px;
}

.pillar-card__tagline {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pillar-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.pillar-card__list li {
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.pillar-card__list li:last-child {
    margin-bottom: 0;
}

.pillar-card__list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-badge {
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-base);
    border-radius: var(--radius-pill);
    font-weight: 500;
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    max-width: 720px;
    margin: 0 auto;
}

.trust-badge p {
    margin: 0;
}

/* Problem Statement */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.problem-text {
    font-size: 18px;
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
}

.problem-insight {
    background: var(--color-base);
    padding: var(--space-lg);
    border-left: 4px solid var(--color-accent);
    margin-bottom: var(--space-lg);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: var(--shadow-card);
}

.problem-insight p {
    margin: 0;
}

.solution-statement h3 {
    color: var(--color-accent);
    font-size: 24px;
    margin-bottom: 0;
}

.gap-visual {
    background: var(--color-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: stretch;
}

.gap-visual__col {
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}

.gap-visual__col--messy {
    background: #fef2f2;
    border: 1px dashed #fca5a5;
}

.gap-visual__col--system {
    background: rgba(103, 79, 167, 0.08);
    border: 1px solid rgba(103, 79, 167, 0.2);
}

.gap-visual__label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.gap-visual__col--messy .gap-visual__label {
    color: #991b1b;
}

.gap-visual__col--system .gap-visual__label {
    color: var(--color-accent);
}

.gap-visual__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gap-visual__chips li {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.gap-visual__col--messy .gap-visual__chips li {
    background: #fee2e2;
    color: #991b1b;
}

.gap-visual__col--system .gap-visual__chips li {
    background: var(--color-accent);
    color: var(--color-base);
}

.gap-visual__arrow {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
}

/* Detailed Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-base);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    flex: 1 1 300px;
    max-width: 400px;
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.service-card__title {
    margin-bottom: var(--space-md);
    font-size: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.service-card__list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.service-card__list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 15px;
}

.service-card__list li:last-child {
    margin-bottom: 0;
}

.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

.pricing-card {
    background: var(--color-base);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    border: 1px solid var(--color-border);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-base);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 18px;
    margin-bottom: 12px;
    min-height: 44px;
}

.pricing-card__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
}

.pricing-card__note {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    margin-top: 8px;
    font-weight: 500;
    min-height: 40px;
}

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.pricing-card__list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-section-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.pricing-card__list li:last-child {
    border-bottom: none;
}

.pricing-card__cta {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.universal-cta {
    color: var(--color-text-secondary);
}

/* Operational Model */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.ops-item {
    text-align: center;
    padding: var(--space-md);
}

.ops-item__icon-container {
    margin-bottom: var(--space-md);
    height: 80px;
    width: 80px;
    background: var(--color-section-bg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.2s ease, transform 0.2s ease;
    color: var(--color-accent);
}

.ops-item__icon-container i {
    width: 32px;
    height: 32px;
    stroke-width: 1.75px;
}

.ops-item:hover .ops-item__icon-container {
    background: var(--color-primary);
}

.ops-item__title {
    margin-bottom: 8px;
}

.ops-item__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--color-primary);
    z-index: 0;
}

.step {
    text-align: center;
    z-index: 1;
    position: relative;
}

.step__marker {
    width: 72px;
    height: 72px;
    background: var(--color-base);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-card);
    border: 3px solid var(--color-primary);
}

.step__num {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
}

.step__title {
    font-weight: 600;
    margin: 0;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.metric-item {
    padding: var(--space-md);
}

.metric-item__value {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    line-height: 1.2;
}

.metric-item__label {
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

/* FAQs */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
    background: var(--color-base);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-item__question {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color 0.2s, background-color 0.2s;
}

.faq-item__question:hover,
.faq-item__question:focus-visible {
    background: var(--color-section-bg);
    color: var(--color-accent);
}

.faq-item__icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-item.active .faq-item__icon,
.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.active .faq-item__answer {
    padding: 0 var(--space-lg) var(--space-lg);
    max-height: 320px;
}

.faq-item__answer p {
    margin: 0;
    color: var(--color-text-secondary);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #f7d870 100%);
    padding: 80px 0;
    position: relative;
}

.final-cta__headline {
    font-size: 32px;
    margin-bottom: var(--space-md);
}

.final-cta__subheadline {
    font-size: 18px;
    margin-bottom: var(--space-xl);
    font-weight: 500;
    color: var(--color-text-primary);
}

.final-cta__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--color-base);
    color: var(--color-text-primary);
    padding: 64px 0 32px;
    border-top: 3px solid var(--color-primary);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    flex-direction: column;
}

.footer__logo-img {
    height: 48px;
    width: auto;
    align-self: flex-start;
    margin-bottom: var(--space-md);
}

.footer__logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer__links-group h5 {
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.footer__links-group a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.footer__links-group a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.footer__bottom p {
    margin: 0;
}

/* Login page styles - preserved */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("images/login-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: #000000;
    opacity: 0.45;
}

.login-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 840px;
    background: var(--color-base);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    align-self: center;
}

.login-card__logo {
    flex: 1 1 40%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    border-right: 1px solid var(--color-border);
}

.login-card__logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.login-card__logo-img {
    width: 240px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 24px;
}

.login-card__logo-label {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.025em;
    display: block;
}

.login-card__form-section {
    flex: 1 1 60%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    position: relative;
}

.login-card__back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s;
    width: fit-content;
}

.login-card__back-btn:hover {
    color: var(--color-accent);
}

.login-card__back-btn i {
    width: 18px;
    height: 18px;
}

.login-card__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.login-card__subtitle {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0 0 32px 0;
}

.login-form__messages {
    margin-bottom: 20px;
}

.login-form__message {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin: 0 0 8px 0;
}

.login-form__message--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.login-form__message--info {
    background-color: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.login-form__message--success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.login-form__field {
    margin-bottom: 16px;
}

.login-form__label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: #374151;
}

.login-form__input {
    width: 100%;
    padding: 10px 16px;
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.4;
    color: #1f2937;
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form__input::placeholder {
    color: var(--color-text-secondary);
}

.login-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(103, 79, 167, 0.2);
}

.login-form__input-wrap {
    position: relative;
    display: block;
}

.login-form__input--with-icon {
    padding-right: 48px;
}

.login-form__toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.login-form__toggle-password:hover {
    color: var(--color-accent);
    background: var(--color-section-bg);
}

.login-form__eye--hide[hidden] {
    display: none !important;
}

.login-form__submit {
    margin-top: 24px;
    width: 100%;
    padding: 10px 18px;
    font-family: var(--font-stack);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-base);
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-form__submit.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: 0.92;
}

.login-form__submit:disabled {
    cursor: wait;
}

.login-form__submit-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: login-submit-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.login-form__submit-spinner[hidden] {
    display: none;
}

@keyframes login-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.login-form__submit:hover {
    background-color: #55418e;
    box-shadow: var(--shadow-hover);
}

.login-form__submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(103, 79, 167, 0.35);
}

/* Media Queries */
@media (max-width: 1199px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero__grid,
    .problem-grid,
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero__content {
        order: 2;
        text-align: center;
    }

    .hero__visual {
        order: 1;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero__features,
    .hero__ctas {
        justify-content: center;
    }

    .hero__subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .pillars-grid,
    .ops-grid,
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
        z-index: 1001;
    }

    .navbar__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--color-base);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-hover);
        padding: var(--space-sm) var(--space-lg) var(--space-lg);
    }

    .navbar.is-open .navbar__links {
        display: flex;
    }

    .navbar__link {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-section-bg);
    }

    .navbar__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: var(--space-md);
    }

    .navbar__actions .btn {
        width: 100%;
    }

    .section-spacing {
        padding: 56px 0;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 28px; }

    .pillars-grid,
    .ops-grid,
    .metrics-grid,
    .process-steps,
    .pricing-grid,
    .footer__links,
    .gap-visual {
        grid-template-columns: 1fr;
    }

    .gap-visual__arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .final-cta {
        padding: 64px 0;
    }

    .final-cta__headline {
        font-size: 28px;
    }

    .final-cta__buttons,
    .hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta__buttons .btn,
    .hero__ctas .btn {
        width: 100%;
    }

    .navbar__logo-text {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .login-card {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }

    .login-card__logo {
        flex: 0 0 auto;
        padding: 40px 24px;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .login-card__logo-img {
        width: 160px;
        margin-bottom: 16px;
    }

    .login-card__logo-label {
        font-size: 18px;
    }

    .login-card__form-section {
        padding: 40px 24px;
    }
}


/* ---------------------------
   Homepage — ported faithfully from RSP Template.html
   All rules scoped to body.homepage
   --------------------------- */

body.homepage{margin:0;font-family:Inter,Montserrat,"Segoe UI",Arial,sans-serif;color:#111827;line-height:1.6;background:#fff}
body.homepage a{text-decoration:none;color:inherit}
body.homepage h1,body.homepage h2,body.homepage h3,body.homepage p{margin-top:0}
body.homepage h1{font-size:clamp(42px,5vw,66px);line-height:1.04;letter-spacing:-.04em}
body.homepage h2{font-size:clamp(30px,3.4vw,44px);line-height:1.12;letter-spacing:-.03em}
body.homepage p{color:#6B7280}
body.homepage .container{width:min(1180px,calc(100% - 40px));margin:auto}
body.homepage .eyebrow{text-align:center;color:#674FA7;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
body.homepage .title{max-width:760px;margin:0 auto 32px;text-align:center}
body.homepage .highlight{color:#674FA7}
body.homepage .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 20px;border-radius:10px;font-weight:800;border:1px solid transparent;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;font-family:inherit;cursor:pointer;text-decoration:none}
body.homepage .btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(17,24,39,.1)}
body.homepage .primary{background:#674FA7;color:#fff}
body.homepage .primary:hover{background:#55418e}
body.homepage .light{background:#fff;color:#674FA7;border-color:rgba(103,79,167,.2)}
body.homepage .card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 2px 6px rgba(0,0,0,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.homepage .card:hover{box-shadow:0 8px 20px rgba(17,24,39,.08)}
body.homepage .soft{background:#F5F7FA}
body.homepage .section{padding:68px 0}

/* Top gold line + header */
body.homepage header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid #E5E7EB}
body.homepage .nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
body.homepage .brand{display:flex;align-items:center;flex-shrink:0;line-height:0}
body.homepage .brand-logo{display:block;height:48px;width:auto}
body.homepage .links{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700}
body.homepage .actions{display:flex;align-items:center;gap:10px}

/* Hero */
body.homepage .hero{position:relative;overflow:hidden;padding:78px 0;background:linear-gradient(135deg,#F0C430,#F8DA68 60%,#FAE9A0)}
body.homepage .hero:before,body.homepage .hero:after{content:"";position:absolute;background:#fff;opacity:.15;transform:rotate(28deg);border-radius:30px}
body.homepage .hero:before{width:420px;height:170px;left:-150px;bottom:-40px}
body.homepage .hero:after{width:520px;height:190px;right:220px;top:-120px}
body.homepage .hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
body.homepage .badge{display:inline-block;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.6);font-size:12px;font-weight:800;margin-bottom:22px}
body.homepage .hero p{max-width:600px;color:#433E2B;font-size:18px}
body.homepage .features{display:flex;flex-wrap:wrap;gap:10px 12px;margin:24px 0 26px}
body.homepage .feature-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(255,255,255,.58);border-radius:999px;background:rgba(255,255,255,.38);color:#3f381d;font-size:13px;font-weight:800;backdrop-filter:blur(4px)}
body.homepage .feature-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#fff;color:#674FA7;box-shadow:0 2px 6px rgba(0,0,0,.08)}
body.homepage .feature-icon svg{width:13px;height:13px;display:block;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.homepage .hero-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Hero work collage */
body.homepage .ico{width:44px;height:44px;display:grid;place-items:center;border-radius:11px;color:#fff;background:#674FA7;font-weight:900}
body.homepage .ico.gold{background:#F0C430}
body.homepage .ico svg{display:block}

body.homepage .hero-work{
  display:grid;
  grid-template-columns:1.35fr 1.05fr .95fr;
  grid-template-rows:auto auto;
  gap:12px;
  align-items:stretch;
}
body.homepage .work-tile{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
body.homepage .work-tile--video{grid-column:1 / 3;grid-row:1}
body.homepage .work-tile--social{grid-column:3;grid-row:1 / 3}
body.homepage .work-tile--ad{grid-column:1;grid-row:2}
body.homepage .work-tile--campaign{grid-column:2;grid-row:2}
body.homepage .work-tile__media{
  position:relative;
  flex:1 1 auto;
  min-height:110px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 12px 26px rgba(80,58,0,.14);
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(255,255,255,.35),rgba(255,255,255,0) 42%),
    linear-gradient(160deg,#EDE7F8 0%,#D9D0EF 48%,#F7E7A0 100%);
}
body.homepage .work-tile__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,transparent 0 8%,rgba(255,255,255,.22) 8% 10%,transparent 10% 100%),
    linear-gradient(0deg,transparent 0 18%,rgba(103,79,167,.08) 18% 20%,transparent 20% 100%);
  opacity:.85;
  pointer-events:none;
}
body.homepage .work-tile--video .work-tile__media{min-height:160px;aspect-ratio:16/10}
body.homepage .work-tile--social .work-tile__media{min-height:100%;aspect-ratio:3/4}
body.homepage .work-tile--ad .work-tile__media{aspect-ratio:1/1}
body.homepage .work-tile--campaign .work-tile__media{aspect-ratio:16/10}
body.homepage .work-tile__media img,
body.homepage .work-tile__media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index:1;
}
body.homepage .work-tile__play{
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  width:36px;
  height:36px;
  margin:-18px 0 0 -18px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
body.homepage .work-tile__play::before{
  content:"";
  position:absolute;
  top:50%;
  left:54%;
  width:0;
  height:0;
  border-style:solid;
  border-width:6px 0 6px 10px;
  border-color:transparent transparent transparent #674FA7;
  transform:translate(-50%,-50%);
}
body.homepage .work-tile__label{
  align-self:flex-start;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#4B3A74;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 2px 8px rgba(80,58,0,.08);
  white-space:nowrap;
}
body.homepage .work-tile--video .work-tile__media{
  background:
    linear-gradient(145deg,rgba(255,255,255,.28),transparent 40%),
    linear-gradient(135deg,#5B4A8F,#8B79C4 55%,#F0C430);
}
body.homepage .work-tile--social .work-tile__media{
  background:
    linear-gradient(160deg,rgba(255,255,255,.3),transparent 45%),
    linear-gradient(180deg,#F8E7A0,#E8C84A 60%,#674FA7);
}
body.homepage .work-tile--ad .work-tile__media{
  background:
    linear-gradient(140deg,rgba(255,255,255,.32),transparent 50%),
    linear-gradient(210deg,#F3F0FA,#C9B8EC 40%,#F0C430);
}
body.homepage .work-tile--campaign .work-tile__media{
  background:
    linear-gradient(150deg,rgba(255,255,255,.3),transparent 42%),
    linear-gradient(120deg,#EEEAF8,#A996D8 45%,#E8C84A);
}

@keyframes hero-work-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
body.homepage .hero-work.is-animated{
  animation:hero-work-float 8s ease-in-out infinite;
}

/* Services */
body.homepage .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
body.homepage .service{padding:24px}
body.homepage .service-head{display:flex;gap:14px;align-items:flex-start}
body.homepage .service h3{font-size:18px;margin-bottom:2px}
body.homepage .service p{font-size:14px}
body.homepage .checks{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:9px;font-size:14px}
body.homepage .checks li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-right:8px;border-radius:50%;background:#F2EEFB;color:#674FA7;font-size:11px;font-weight:900}
body.homepage .trust{text-align:center;margin-top:25px;color:#4B5563;font-size:13px;font-weight:700}

/* Execution gap */
body.homepage .execution{display:grid;grid-template-columns:.9fr 1.1fr;gap:38px;align-items:center}
body.homepage .compare{display:grid;grid-template-columns:1fr 1fr;overflow:hidden}
body.homepage .col{padding:28px}
body.homepage .col+.col{border-left:1px solid #E5E7EB}
body.homepage .bad{color:#E84747}
body.homepage .good{color:#674FA7}

/* Detailed services */
body.homepage .details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.homepage .detail{padding:22px;display:flex;gap:14px}
body.homepage .detail h3{font-size:17px}
body.homepage .detail p{font-size:13px;margin-bottom:0}

/* Selected Work reel */
body.homepage .work-reel{
  margin-top:8px;
}
body.homepage .work-reel__viewport{
  overflow-x:auto;
  overflow-y:hidden;
  cursor:grab;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  padding:4px 0 12px;
}
body.homepage .work-reel__viewport.is-dragging{
  cursor:grabbing;
  user-select:none;
}
body.homepage .work-reel__track{
  display:flex;
  align-items:flex-end;
  gap:16px;
  width:max-content;
  padding:0 max(20px, calc((100vw - 1180px) / 2 + 20px));
}
body.homepage .work-card{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:280px;
}
body.homepage .work-card[data-aspect="portrait"]{width:180px}
body.homepage .work-card[data-aspect="square"]{width:220px}
body.homepage .work-card[data-aspect="landscape"]{width:300px}
body.homepage .work-card__media{
  position:relative;
  border-radius:14px;
  border:1px solid #E5E7EB;
  background:#fff;
  box-shadow:0 8px 20px rgba(17,24,39,.06);
  overflow:hidden;
}
body.homepage .work-card[data-aspect="landscape"] .work-card__media{aspect-ratio:16/10}
body.homepage .work-card[data-aspect="portrait"] .work-card__media{aspect-ratio:3/4}
body.homepage .work-card[data-aspect="square"] .work-card__media{aspect-ratio:1/1}
body.homepage .work-card[data-aspect="wide"] .work-card__media{aspect-ratio:16/9}
body.homepage .work-card__media img,
body.homepage .work-card__media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.homepage .work-card__placeholder{
  position:absolute;
  inset:0;
  background:
    linear-gradient(145deg,rgba(255,255,255,.35),transparent 42%),
    linear-gradient(135deg,#EDE7F8,#C9B8EC 45%,#F0C430);
}
body.homepage .work-card[data-type="Video"] .work-card__placeholder{
  background:
    linear-gradient(145deg,rgba(255,255,255,.28),transparent 40%),
    linear-gradient(135deg,#5B4A8F,#8B79C4 55%,#F0C430);
}
body.homepage .work-card[data-type="Social"] .work-card__placeholder{
  background:
    linear-gradient(160deg,rgba(255,255,255,.3),transparent 45%),
    linear-gradient(180deg,#F8E7A0,#E8C84A 60%,#674FA7);
}
body.homepage .work-card[data-type="Ad"] .work-card__placeholder{
  background:
    linear-gradient(140deg,rgba(255,255,255,.32),transparent 50%),
    linear-gradient(210deg,#F3F0FA,#C9B8EC 40%,#F0C430);
}
body.homepage .work-card[data-type="Campaign"] .work-card__placeholder{
  background:
    linear-gradient(150deg,rgba(255,255,255,.3),transparent 42%),
    linear-gradient(120deg,#EEEAF8,#A996D8 45%,#E8C84A);
}
body.homepage .work-card__play{
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  width:40px;
  height:40px;
  margin:-20px 0 0 -20px;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
body.homepage .work-card__play::before{
  content:"";
  position:absolute;
  top:50%;
  left:54%;
  border-style:solid;
  border-width:7px 0 7px 11px;
  border-color:transparent transparent transparent #674FA7;
  transform:translate(-50%,-50%);
}
body.homepage .work-card__meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
body.homepage .work-card__type{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#674FA7;
}
body.homepage .work-card__title{
  font-size:15px;
  font-weight:800;
  color:#111827;
  margin:0;
  line-height:1.3;
}
body.homepage .work-card.is-link{
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease;
}
body.homepage .work-card.is-link:hover{
  transform:translateY(-3px);
}

/* Pricing */
body.homepage .pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body.homepage .price-card{position:relative;padding:26px 20px;border-top:4px solid #F0C430;transition:transform .2s ease,box-shadow .2s ease}
body.homepage .price-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
body.homepage .featured{padding-top:0;border:2px solid #674FA7;overflow:hidden;box-shadow:0 8px 24px rgba(103,79,167,.12)}
body.homepage .featured:hover{box-shadow:0 12px 28px rgba(103,79,167,.18);transform:translateY(-5px)}
body.homepage .popular{position:static;height:36px;margin:0 -20px 22px;display:grid;place-items:center;background:#674FA7;color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
body.homepage .price{font-size:29px;font-weight:900}
body.homepage .sub{font-size:12px;font-weight:800;color:#374151;margin-bottom:15px}
body.homepage .callout{max-width:860px;margin:24px auto 0;padding:16px 18px;border-radius:10px;background:#F2EEFB;color:#5D4A8A;text-align:center;font-size:14px;font-weight:800;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}

/* Ops */
body.homepage .ops{display:grid;grid-template-columns:repeat(4,1fr)}
body.homepage .op{text-align:center;padding:6px 22px}
body.homepage .op+.op{border-left:1px solid #E5E7EB}
body.homepage .op .ico{margin:0 auto 14px;width:58px;height:58px;border-radius:18px;font-size:22px}
body.homepage .op h3{font-size:16px}
body.homepage .op p{font-size:12px}

/* Process */
body.homepage .process-section{padding:68px 0 64px}
body.homepage .process-shell{position:relative;margin-top:38px}
body.homepage .process-line{position:absolute;z-index:0;top:92px;left:11.5%;right:11.5%;height:2px;background:repeating-linear-gradient(to right,#C9C4D8 0 8px,transparent 8px 14px);overflow:hidden}
body.homepage .process-line::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#674FA7,#F0C430);transform:scaleX(0);transform-origin:left center;transition:transform 1.05s cubic-bezier(.22,.61,.36,1)}
body.homepage .process-shell.is-active .process-line::after{transform:scaleX(1)}
body.homepage .process{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
body.homepage .step{text-align:center}
body.homepage.js-process .step{opacity:.38;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
body.homepage.js-process .step.is-active{opacity:1;transform:none}
body.homepage .num{position:relative;z-index:3;width:32px;height:32px;display:grid;place-items:center;margin:0 auto 14px;border-radius:50%;background:#674FA7;color:#fff;font-size:12px;font-weight:900;box-shadow:0 0 0 5px #fff;transition:transform .35s ease,box-shadow .35s ease}
body.homepage.js-process .step.is-active .num{transform:scale(1.06);box-shadow:0 0 0 5px #fff,0 0 0 8px rgba(103,79,167,.16)}
body.homepage .num:after{content:"";position:absolute;top:100%;left:50%;width:2px;height:14px;background:#C9C4D8;transform:translateX(-50%)}
body.homepage .step:last-child .num{background:#F0C430;color:#554100}
body.homepage .step:last-child .num:after{background:#E4C24C}
body.homepage .stepicon{width:92px;height:92px;display:grid;place-items:center;margin:0 auto 20px;border:2px solid #DDD7EF;border-radius:50%;background:#fff;color:#674FA7;font-size:34px;box-shadow:0 8px 20px rgba(103,79,167,.07);transition:border-color .35s ease,box-shadow .35s ease}
body.homepage.js-process .step.is-active .stepicon{box-shadow:0 10px 24px rgba(103,79,167,.14)}
body.homepage .step:nth-child(2) .stepicon,body.homepage .step:nth-child(4) .stepicon{border-color:#F2D365;color:#E7B50C}
body.homepage .step h3{font-size:17px}
body.homepage .step p{max-width:210px;margin:auto;font-size:12px}
body.homepage .process-cta{text-align:center;margin-top:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}

/* Metrics */
body.homepage .metrics{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
body.homepage .metric{padding:22px;display:flex;gap:14px;align-items:center}
body.homepage .metric+.metric{border-left:1px solid #E5E7EB}
body.homepage .mval{font-size:clamp(32px,3.2vw,40px);font-weight:900;color:#674FA7;line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
body.homepage .mlabel{font-size:11px;color:#4B5563}

/* FAQs */
body.homepage .faqs{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
body.homepage .faq{border:1px solid #E1E4E9;border-radius:8px;overflow:hidden;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
body.homepage .faq:hover{border-color:#D6CFE8;box-shadow:0 4px 12px rgba(103,79,167,.06)}
body.homepage .fq{width:100%;display:flex;justify-content:space-between;gap:18px;padding:13px 16px;border:0;background:#fff;text-align:left;font-weight:700;cursor:pointer;font-family:inherit;font-size:14px;color:#111827;transition:background-color .2s ease,color .2s ease}
body.homepage .fq:hover,body.homepage .fq:focus-visible{background:#F8F6FC;color:#674FA7;outline:none}
body.homepage .fa{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s ease;padding:0 16px}
body.homepage .fa-body{overflow:hidden;min-height:0;color:#6B7280;font-size:12px;line-height:1.55;opacity:0;padding-bottom:0;transition:opacity .25s ease,padding-bottom .32s ease}
body.homepage .faq.open .fa{grid-template-rows:1fr}
body.homepage .faq.open .fa-body{opacity:1;padding-bottom:14px}
body.homepage .plus{color:#674FA7;font-size:20px;transition:transform .25s ease;flex-shrink:0;line-height:1}
body.homepage .faq.open .plus{transform:rotate(45deg)}

/* Final CTA */
body.homepage .final-section{padding:52px 0 44px}
body.homepage .finalcta{position:relative;overflow:hidden;display:grid;grid-template-columns:1.28fr .72fr;gap:30px;align-items:center;padding:34px 38px;border:1px solid rgba(205,159,0,.18);border-radius:18px;background:linear-gradient(110deg,#F2C32E,#F8DB6A);box-shadow:0 16px 36px rgba(187,145,15,.17)}
body.homepage .finalcta:after{content:"";position:absolute;right:-70px;bottom:-110px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.38) 0 5px,transparent 6px);background-size:24px 24px;opacity:.32;pointer-events:none}
body.homepage .finalcta__media{
  position:absolute;
  z-index:0;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  gap:10px;
  align-items:flex-end;
  opacity:.42;
  pointer-events:none;
}
body.homepage .finalcta__chip{
  display:block;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 8px 18px rgba(80,58,0,.12);
}
body.homepage .finalcta__chip--video{
  width:92px;
  height:58px;
  background:linear-gradient(135deg,#5B4A8F,#8B79C4 55%,#F0C430);
  transform:rotate(-4deg);
}
body.homepage .finalcta__chip--social{
  width:48px;
  height:72px;
  background:linear-gradient(180deg,#F8E7A0,#E8C84A 60%,#674FA7);
  transform:rotate(3deg);
}
body.homepage .finalcta__chip--ad{
  width:56px;
  height:56px;
  background:linear-gradient(210deg,#F3F0FA,#C9B8EC 40%,#F0C430);
  transform:rotate(-2deg);
}
body.homepage .finalcta__chip--campaign{
  width:88px;
  height:52px;
  background:linear-gradient(120deg,#EEEAF8,#A996D8 45%,#E8C84A);
  transform:rotate(2deg);
}
body.homepage .ctacopy{position:relative;z-index:1;display:flex;gap:18px;align-items:center}
body.homepage .ctaicon{width:62px;height:62px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 4px 12px rgba(80,58,0,.08)}
body.homepage .ctacopy h2{font-size:29px;margin-bottom:4px}
body.homepage .ctacopy p{margin:0;color:#51471F}
body.homepage .ctaactions{position:relative;z-index:1;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}

/* Footer — use classic .footer layout (not gold footergrid) on homepage too */
body.homepage .footer {
    padding: 64px 0 32px;
    background-color: var(--color-base);
    border-top: 3px solid var(--color-primary);
}
body.homepage .footer h5 {
    font-size: inherit;
    margin: 0 0 var(--space-md);
}

/* Responsive */
@media(max-width:980px){
  body.homepage .links{display:none}
  body.homepage .hero-grid,body.homepage .execution,body.homepage .finalcta{grid-template-columns:1fr}
  body.homepage .hero-grid{gap:38px}
  body.homepage .hero-work{max-width:720px;margin:0 auto}
  body.homepage .finalcta__media{opacity:.28;right:12px}
  body.homepage .grid3,body.homepage .details,body.homepage .pricing,body.homepage .ops,body.homepage .metrics{grid-template-columns:repeat(2,1fr)}
  body.homepage .process{grid-template-columns:repeat(2,1fr);gap:38px 28px}
  body.homepage .process-line{display:none}
  body.homepage .step{padding:24px 18px;border:1px solid #E8E5F0;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(17,24,39,.05)}
  body.homepage .op+.op{border-left:0}
  body.homepage .ctaactions{justify-content:flex-start}
}
@media(max-width:680px){
  body.homepage .section,body.homepage .process-section{padding:56px 0}
  body.homepage .nav{height:66px;gap:12px}
  body.homepage .brand-logo{height:40px}
  body.homepage .actions{gap:6px}
  body.homepage .actions .light{display:none}
  body.homepage .actions .primary{min-height:42px;padding:9px 12px;font-size:12px}
  body.homepage .hero{padding:52px 0}
  body.homepage .hero p{font-size:16px}
  body.homepage .features{gap:8px}
  body.homepage .feature-chip{font-size:12px;padding:6px 9px}
  body.homepage .feature-icon{width:20px;height:20px}
  body.homepage .hero-actions{display:grid;grid-template-columns:1fr}
  body.homepage .hero-actions .btn{width:100%}
  body.homepage .hero-work{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    gap:10px;
  }
  body.homepage .work-tile--video{grid-column:1;grid-row:1}
  body.homepage .work-tile--social{grid-column:2;grid-row:1}
  body.homepage .work-tile--ad{grid-column:1;grid-row:2}
  body.homepage .work-tile--campaign{grid-column:2;grid-row:2}
  body.homepage .work-tile--video .work-tile__media,
  body.homepage .work-tile--social .work-tile__media,
  body.homepage .work-tile--ad .work-tile__media,
  body.homepage .work-tile--campaign .work-tile__media{
    min-height:120px;
    aspect-ratio:4/3;
  }
  body.homepage .work-tile__label{font-size:10px;padding:3px 7px}
  body.homepage .hero-work.is-animated{animation:none}
  body.homepage .work-card{width:220px}
  body.homepage .work-card[data-aspect="portrait"]{width:150px}
  body.homepage .work-card[data-aspect="square"]{width:180px}
  body.homepage .work-card[data-aspect="landscape"]{width:240px}
  body.homepage .work-reel__track{padding:0 20px;gap:12px}
  body.homepage .ico{width:40px;height:40px}
  body.homepage .grid3,body.homepage .details,body.homepage .pricing,body.homepage .ops,body.homepage .process,body.homepage .metrics,body.homepage .faqs,body.homepage .footergrid{grid-template-columns:1fr}
  body.homepage .service,body.homepage .detail,body.homepage .price-card{padding-left:18px;padding-right:18px}
  body.homepage .featured{margin-top:0}
  body.homepage .featured .popular{margin-left:-18px;margin-right:-18px}
  body.homepage .compare{grid-template-columns:1fr}
  body.homepage .col+.col{border-left:0;border-top:1px solid #E5E7EB}
  body.homepage .process{gap:16px}
  body.homepage .step{display:grid;grid-template-columns:38px 74px 1fr;grid-template-rows:auto auto;align-items:center;gap:0 14px;padding:18px;text-align:left}
  body.homepage .num{grid-column:1;grid-row:1 / span 2;width:32px;height:32px;margin:0;align-self:start}
  body.homepage .num:after{top:32px;left:50%;width:2px;height:42px}
  body.homepage .stepicon{grid-column:2;grid-row:1 / span 2;width:68px;height:68px;margin:0;font-size:26px}
  body.homepage .step h3{grid-column:3;grid-row:1;margin:0 0 4px;font-size:16px}
  body.homepage .step p{grid-column:3;grid-row:2;max-width:none;margin:0;font-size:12px}
  body.homepage .process-cta{margin-top:24px}
  body.homepage .process-cta .btn{width:100%}
  body.homepage .metric+.metric{border-left:0;border-top:1px solid #E5E7EB}
  body.homepage .final-section{padding:42px 0}
  body.homepage .finalcta{padding:26px 20px}
  body.homepage .finalcta__media{
    position:relative;
    top:auto;
    right:auto;
    transform:none;
    justify-content:flex-start;
    margin:-4px 0 8px;
    opacity:.35;
    grid-column:1 / -1;
    order:-1;
  }
  body.homepage .finalcta{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
  }
  body.homepage .ctacopy{align-items:flex-start}
  body.homepage .ctaicon{width:52px;height:52px}
  body.homepage .ctacopy h2{font-size:24px}
  body.homepage .ctaactions{flex-direction:column}
  body.homepage .ctaactions .btn{width:100%}
  body.homepage .work-reel__viewport{padding-bottom:8px}
  body.homepage .hero-work{gap:8px}
  body.homepage footer{padding-top:42px}
  body.homepage .footergrid{gap:24px}
}

/* Fix: Final CTA buttons always side-by-side on desktop */
body.homepage .ctaactions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

body.homepage .callout a.highlight {
  color: #674FA7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.homepage .callout__cta,
body.homepage .btn--gold {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #F0C430;
  border-color: #F0C430;
  color: #111827;
  font-weight: 800;
}

body.homepage .callout__cta:hover,
body.homepage .btn--gold:hover {
  background: #e0b420;
  border-color: #e0b420;
  color: #111827;
}

body.homepage .process-cta .btn--gold {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 10px;
}

/* ─── Mobile hamburger nav (homepage) ─────────────────────────────────── */

/* Hamburger button — hidden on desktop */
body.homepage .nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  z-index: 30;
}

body.homepage .nav-hamburger:hover,
body.homepage .nav-hamburger:focus-visible {
  background: rgba(103, 79, 167, 0.08);
  outline: none;
}

body.homepage .nav-hamburger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Animated X when open */
body.homepage header.is-open .nav-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.homepage header.is-open .nav-hamburger__bar:nth-child(2) {
  opacity: 0;
}
body.homepage header.is-open .nav-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* The drawer (links + actions) */
body.homepage .nav-drawer {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ── Mobile breakpoint ── */
@media (max-width: 680px) {
  body.homepage .nav-hamburger {
    display: flex;
  }

  /* Hide drawer by default */
  body.homepage .nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 8px 24px rgba(17,24,39,0.10);
    padding: 12px 20px 20px;
    z-index: 25;
  }

  /* Show when header has .is-open */
  body.homepage header.is-open .nav-drawer {
    display: flex;
  }

  /* Stack nav links vertically */
  body.homepage .nav-drawer .links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  body.homepage .nav-drawer .links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
  }

  body.homepage .nav-drawer .links a:last-child {
    border-bottom: none;
  }

  body.homepage .nav-drawer .links a:hover {
    color: #674FA7;
  }

  /* Stack action buttons */
  body.homepage .nav-drawer .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 16px;
    width: 100%;
  }

  body.homepage .nav-drawer .actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Keep header positioned for absolute dropdown */
  body.homepage header {
    position: sticky;
    top: 0;
  }
}

/* Fix: show Login button inside the mobile nav drawer */
@media (max-width: 680px) {
  body.homepage .nav-drawer .actions .btn.light,
  body.homepage .nav-drawer .actions .light {
    display: block;
    text-align: center;
  }
}

/* ─── Scroll reveal (Part 1) ─────────────────────────────────────────────
   Progressive enhancement: elements only hide when body.js-reveal is set
   by websiteScripts.js. Without JS, content stays fully visible.
   ──────────────────────────────────────────────────────────────────────── */
body.homepage.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.homepage.js-reveal [data-reveal].is-inview {
  opacity: 1;
  transform: none;
  will-change: auto;
}

body.homepage.js-reveal [data-reveal-delay="1"] { --reveal-delay: 80ms; }
body.homepage.js-reveal [data-reveal-delay="2"] { --reveal-delay: 160ms; }
body.homepage.js-reveal [data-reveal-delay="3"] { --reveal-delay: 240ms; }
body.homepage.js-reveal [data-reveal-delay="4"] { --reveal-delay: 320ms; }
body.homepage.js-reveal [data-reveal-delay="5"] { --reveal-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  body.homepage.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  body.homepage.js-reveal .compare .checks li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.homepage.js-reveal .compare .col + .col {
    transition: none;
  }

  body.homepage .process-line::after,
  body.homepage.js-process .step,
  body.homepage.js-process .step .num,
  body.homepage.js-process .step .stepicon,
  body.homepage .fa,
  body.homepage .fa-body,
  body.homepage .plus {
    transition: none !important;
  }

  body.homepage.js-process .step {
    opacity: 1;
    transform: none;
  }

  body.homepage .hero-work.is-animated {
    animation: none !important;
  }
}

/* ─── Part 2 polish: pillars, gap bullets, pricing hover ──────────────── */
body.homepage .service {
  position: relative;
}

body.homepage .service-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #C4B5E0;
}

body.homepage .grid3--pillars {
  position: relative;
}

@media (min-width: 901px) {
  body.homepage .grid3--pillars::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 52px;
    left: 16.5%;
    right: 16.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D6CFE8 12%, #D6CFE8 88%, transparent);
    pointer-events: none;
  }

  body.homepage .grid3--pillars .service {
    position: relative;
    z-index: 1;
  }
}

/* Execution gap: stagger bullets when compare card enters */
body.homepage.js-reveal .compare .checks li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

body.homepage.js-reveal .compare.is-inview .checks li {
  opacity: 1;
  transform: none;
}

body.homepage.js-reveal .compare.is-inview .col:first-child .checks li:nth-child(1),
body.homepage.js-reveal .compare.is-inview .col:last-child .checks li:nth-child(1) {
  transition-delay: 80ms;
}

body.homepage.js-reveal .compare.is-inview .col:first-child .checks li:nth-child(2),
body.homepage.js-reveal .compare.is-inview .col:last-child .checks li:nth-child(2) {
  transition-delay: 160ms;
}

body.homepage.js-reveal .compare.is-inview .col:first-child .checks li:nth-child(3),
body.homepage.js-reveal .compare.is-inview .col:last-child .checks li:nth-child(3) {
  transition-delay: 240ms;
}

body.homepage.js-reveal .compare .col + .col {
  border-left-color: #E5E7EB;
  transition: border-left-color 0.5s ease;
}

body.homepage.js-reveal .compare.is-inview .col + .col {
  border-left-color: #C4B5E0;
}

@media (prefers-reduced-motion: reduce) {
  body.homepage .price-card:hover,
  body.homepage .featured:hover,
  body.homepage .btn:hover,
  body.homepage .card:hover,
  body.homepage .work-card.is-link:hover {
    transform: none;
  }
}
