/* Project design tokens */
:root {
    --color-primary: #F0C430;
    --color-accent: #674FA7;
    --color-base: #FFFFFF;
    --color-border: #D1D5DB;
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-section-bg: #F9FAFB;
    --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 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
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 24px;
}

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

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

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }

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

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

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

.section-title {
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn--accent:hover {
    background-color: #55418e;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(103, 79, 167, 0.3);
}

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

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

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

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

/* Navbar */
.navbar {
    background-color: var(--color-base);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.navbar__links {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

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

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #f7d870 100%);
    padding: 100px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero__headline {
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero__features {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero__feature {
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.hero__subheadline {
    font-size: 22px;
    margin-bottom: 40px;
    color: #374151;
    font-weight: 500;
    max-width: 600px;
}

.hero__ctas {
    display: flex;
    gap: 20px;
}

.hero__image-wrapper {
    position: relative;
}

/* Image Placeholders */
.image-placeholder {
    background-color: #e5e7eb;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.image-placeholder--hero {
    height: 450px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 8px solid rgba(255, 255, 255, 0.5);
    transform: rotate(2deg);
}

.image-placeholder--problem {
    height: 350px;
    background: white;
}

.image-placeholder__label {
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
}

/* Core Services Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.pillar-card {
    background: var(--color-base);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--color-border);
}

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

.pillar-card__icon-wrap {
    margin-bottom: 24px;
    height: 100px;
    width: 100px;
    background: var(--color-section-bg);
    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: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

.pillar-card__tagline {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.pillar-card__list li::before {
    content: "✓";
    color: var(--color-accent);
    margin-right: 12px;
    font-weight: 800;
    background: rgba(103, 79, 167, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.trust-badge {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    max-width: 700px;
    margin: 0 auto;
}

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

.problem-text {
    font-size: 20px;
    margin-bottom: 32px;
}

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

.solution-statement h3 {
    color: var(--color-accent);
    font-size: 28px;
}

.execution-gap-visual {
    display: flex;
    align-items: center;
    gap: 32px;
}

.visual-node {
    padding: 20px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
}

.visual-node--messy {
    background: #fee2e2;
    color: #991b1b;
    border: 2px dashed #f87171;
}

.visual-node--system {
    background: var(--color-accent);
    color: white;
}

.visual-arrow {
    font-size: 32px;
    color: var(--color-text-secondary);
}

/* Detailed Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--color-base);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

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

.service-card__title {
    margin-bottom: 24px;
    font-size: 22px;
}

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

.service-card__list li {
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
}

.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 2px;
    background: var(--color-accent);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-base);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
    height: 100%;
    box-sizing: border-box;
}

.pricing-card.featured {
    border: 3px solid var(--color-accent);
    z-index: 1;
}

.pricing-card__badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.pricing-card__name {
    font-size: 22px;
    margin-bottom: 16px;
}

.pricing-card__price {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

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

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin-bottom: 48px;
    flex-grow: 1;
}

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

.pricing-card__cta {
    width: 100%;
    box-sizing: border-box;
    font-size: 15px; /* Slightly smaller to prevent overflow */
    padding-left: 10px;
    padding-right: 10px;
}

/* Operational Model */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.ops-item {
    text-align: center;
}

.ops-item__icon-container {
    margin-bottom: 24px;
    height: 120px;
    width: 120px;
    background: var(--color-section-bg);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
    color: var(--color-accent);
}

.ops-item__icon-container i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

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

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

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

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

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

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

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

.step__title {
    font-weight: 700;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.metric-item__value {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.metric-item__label {
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
}

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

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

.faq-item__question {
    width: 100%;
    padding: 24px 32px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-item__question:hover {
    background: rgba(0,0,0,0.01);
    color: var(--color-accent);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-item__answer {
    padding: 0 32px 32px;
    max-height: 500px;
}

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

.final-cta__headline {
    font-size: 44px;
    margin-bottom: 20px;
}

.final-cta__subheadline {
    font-size: 24px;
    margin-bottom: 48px;
    font-weight: 500;
}

.final-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
}

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

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

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

.footer__logo-img {
    height: 50px;
    width: auto;
    align-self: flex-start;
    margin-bottom: 20px;
}

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

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

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

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

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

/* 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--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;
}

.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: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content {
        order: 2;
    }
    
    .hero__image-wrapper {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero__features, .hero__ctas {
        justify-content: center;
    }
    
    .hero__subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .navbar__links {
        display: none;
    }
    
    .section-spacing {
        padding: 80px 0;
    }
    
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .final-cta__headline {
        font-size: 32px;
    }
    
    .final-cta__buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}

@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;
    }
}
