/* ========================================
   Intisia — Design System
   Crystalline Violet · Apple-Inspired
   ======================================== */

/* ---- Tokens ---- */

:root {
    /* Violet spectrum */
    --violet-700: #5B45E0;
    --violet-600: #6C5CE7;
    --violet-500: #7E6FF0;
    --violet-400: #A293F5;
    --violet-300: #C4BAFC;
    --violet-200: #DDD8FE;
    --violet-100: #EEEBFF;
    --violet-50: #F6F4FF;

    /* Neutrals — warm-tinted grays */
    --gray-950: #111118;
    --gray-900: #1A1A24;
    --gray-800: #26263A;
    --gray-700: #3A3A52;
    --gray-600: #52526A;
    --gray-500: #6E6E82;
    --gray-400: #9292A4;
    --gray-300: #B8B8C6;
    --gray-200: #D8D8E2;
    --gray-150: #E6E6EE;
    --gray-100: #F0F0F5;
    --gray-50: #F7F7FA;

    --white: #FFFFFF;

    /* Semantic */
    --accent: var(--violet-600);
    --accent-hover: var(--violet-700);
    --accent-light: var(--violet-50);
    --accent-muted: var(--violet-100);
    --text-primary: var(--gray-950);
    --text-secondary: var(--gray-500);
    --text-tertiary: var(--gray-400);
    --bg-page: var(--white);
    --bg-subtle: var(--gray-50);
    --bg-muted: var(--gray-100);
    --border-default: var(--gray-150);
    --border-subtle: var(--gray-100);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
    --duration-slow: 0.6s;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 999px;
}

/* ---- Reset & Base ---- */

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 { font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

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

::selection {
    background: var(--violet-200);
    color: var(--gray-950);
}

img { max-width: 100%; height: auto; }

/* ---- Logo ---- */

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover { color: var(--text-primary) !important; }

.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.logo-mark span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    position: relative;
}

.logo-text {
    display: inline;
}

.logo-dot {
    color: var(--accent);
}

/* Logo inverted (for dark backgrounds) */
.logo--light .logo-mark {
    background: var(--white);
}

.logo--light .logo-mark::before {
    background: none;
}

.logo--light .logo-mark span {
    color: var(--accent);
}

.logo--light .logo-text {
    color: var(--white);
}

.logo--light .logo-dot {
    color: var(--violet-300);
}

/* ---- Navigation ---- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--duration-normal) var(--ease-out);
}

.site-nav.scrolled {
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.04);
}

.site-nav .navbar {
    padding: 0.7rem 0;
}

.site-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--gray-500);
    padding: 0.5rem 0.85rem;
    letter-spacing: -0.01em;
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
}

.site-nav .nav-link:hover {
    color: var(--text-primary);
}

.site-nav .nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.site-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.7rem;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Nav CTA */
.btn-nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.5rem 1.35rem;
    border-radius: var(--radius-full);
    border: none;
    transition: all var(--duration-fast) var(--ease-out);
    letter-spacing: -0.01em;
}

.btn-nav-cta:hover {
    background: var(--accent-hover);
    color: var(--white) !important;
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
}

/* Language switcher */
.lang-switch {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.84rem;
    color: var(--gray-400) !important;
}

.lang-switch:hover { color: var(--text-primary) !important; }

/* Mobile nav */
.navbar-toggler {
    border: 1px solid var(--border-default);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        padding: 1rem 0;
        border-top: 1px solid var(--border-subtle);
        margin-top: 0.75rem;
    }

    .site-nav .nav-link {
        padding: 0.65rem 0;
        font-size: 0.95rem;
    }

    .site-nav .nav-link.active::after {
        display: none;
    }

    .nav-actions-mobile {
        padding-top: 1rem;
        border-top: 1px solid var(--border-subtle);
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

/* ---- Buttons ---- */

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.7rem 2rem;
    transition: all var(--duration-normal) var(--ease-out);
    letter-spacing: -0.01em;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

.btn-outline-ink {
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.7rem 2rem;
    transition: all var(--duration-normal) var(--ease-out);
    letter-spacing: -0.01em;
}

.btn-outline-ink:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--white);
    transform: scale(1.03);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.7rem 2rem;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-outline-light:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--white);
    transform: scale(1.03);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.7rem 2rem;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

.btn-link-arrow {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-link-arrow:hover {
    color: var(--accent-hover);
    gap: 0.65rem;
}

.btn-link-arrow i {
    font-size: 0.8rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn-link-arrow:hover i {
    transform: translateX(2px);
}

/* ---- Overline ---- */

.overline {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.overline--light {
    color: var(--violet-500);
}

/* ---- Section Spacing ---- */

.py-section {
    padding: 7rem 0;
}

@media (max-width: 767.98px) {
    .py-section {
        padding: 4rem 0;
    }

    h2 { font-size: 1.85rem; }
}

/* ---- Section Header ---- */

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header .lead {
    color: var(--text-secondary);
    max-width: 540px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-header.text-center .lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Hero ---- */

.hero {
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
}

/* Soft gradient mesh behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background:
        radial-gradient(ellipse 50% 40% at 20% 30%, var(--violet-100) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 80% 60%, var(--violet-50) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
}

/* Hero badge — pill-shaped trust signal */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--violet-50);
    border: 1px solid var(--violet-200);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.1rem 0.4rem 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--violet-600);
    margin-bottom: 2rem;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-lead {
    color: var(--gray-500);
    font-size: 1.18rem;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Trust signals row below CTA */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
}

.hero-trust-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.hero-trust-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-trust-divider {
        display: none;
    }

    .hero-trust {
        gap: 0.75rem;
    }

    .hero-trust-item {
        font-size: 0.78rem;
    }
}

/* ---- Service Rows (Homepage) ---- */

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid transparent;
}

.service-row:hover {
    background: var(--gray-50);
    border-color: var(--border-subtle);
    color: inherit;
}

.service-row + .service-row {
    border-top: 1px solid var(--border-subtle);
}

.service-row:hover + .service-row {
    border-top-color: transparent;
}

.service-row-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-50);
    border-radius: 18px;
    flex-shrink: 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.service-row:hover .service-row-icon {
    background: var(--accent);
    transform: scale(1.05);
}

.service-row-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: color var(--duration-normal) var(--ease-out);
}

.service-row:hover .service-row-icon i {
    color: var(--white);
}

.service-row-content {
    flex: 1;
    min-width: 0;
}

.service-row-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    transition: color var(--duration-fast) var(--ease-out);
}

.service-row:hover .service-row-content h3 {
    color: var(--accent);
}

.service-row-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.service-row-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    transition: all var(--duration-normal) var(--ease-out);
}

.service-row-arrow i {
    font-size: 1rem;
    color: var(--gray-300);
    transition: all var(--duration-normal) var(--ease-out);
}

.service-row:hover .service-row-arrow {
    background: var(--violet-100);
}

.service-row:hover .service-row-arrow i {
    color: var(--accent);
    transform: translateX(2px);
}

@media (max-width: 767.98px) {
    .service-row {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }

    .service-row-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .service-row-icon i {
        font-size: 1.25rem;
    }

    .service-row-content h3 {
        font-size: 1.1rem;
    }

    .service-row-arrow {
        display: none;
    }
}

/* ---- Stats Inline (Homepage) ---- */

.stats-section {
    padding: 4rem 0;
    background: var(--violet-50);
    border-top: 1px solid var(--violet-100);
    border-bottom: 1px solid var(--violet-100);
}

.stats-inline {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-inline-item {
    text-align: center;
}

.stat-inline-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-inline-label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    font-weight: 400;
}

.stat-inline-label--highlight {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---- Difference Section ---- */
.difference-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .stats-inline {
        gap: 2.5rem;
    }

    .stat-inline-number {
        font-size: 2.25rem;
    }
}

/* ---- Expertise Cards (Homepage) ---- */

.expertise-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet-400), var(--violet-600));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 20px 48px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-50);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.expertise-card-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.expertise-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    flex-grow: 1;
}

.expertise-card .btn-link-arrow {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* ---- Process Horizontal (Homepage) ---- */

.process-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.process-h-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 1.5rem;
}

.process-h-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    position: relative;
}

.process-h-connector {
    width: 60px;
    height: 2px;
    background: var(--violet-200);
    flex-shrink: 0;
    margin-top: 24px;
    border-radius: 1px;
}

.process-h-step h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-h-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .process-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .process-h-connector {
        width: 2px;
        height: 32px;
        margin-top: 0;
    }

    .process-h-step {
        max-width: 360px;
    }
}

/* ---- CTA Modern (Homepage) ---- */

.cta-modern {
    padding: 7rem 0;
    background: var(--white);
}

.cta-modern-inner {
    background: linear-gradient(145deg, var(--violet-50) 0%, var(--violet-100) 100%);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--violet-200);
}

.cta-modern-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-200) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.cta-modern-inner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--violet-300) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

.cta-modern-inner > * {
    position: relative;
    z-index: 1;
}

.cta-modern-inner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.cta-modern-lead {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .cta-modern {
        padding: 4rem 0;
    }

    .cta-modern-inner {
        padding: 3rem 1.5rem;
        border-radius: var(--radius-lg);
    }
}

/* ---- Inner Page Hero ---- */

.page-hero {
    background: linear-gradient(160deg, var(--violet-50) 0%, var(--violet-100) 50%, var(--violet-50) 100%);
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative floating circle — right side */
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-200) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

/* Decorative floating circle — left side */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -8%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--violet-300) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.25;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--text-primary);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
}

.page-hero .lead {
    color: var(--gray-500);
    font-size: 1.08rem;
    max-width: 540px;
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .page-hero::before {
        width: 250px;
        height: 250px;
        top: -30%;
        right: -15%;
    }

    .page-hero::after {
        display: none;
    }
}

/* ---- Cards ---- */

.card-int {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-int.card-int--auto {
    height: auto;
}

.card-int:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 20px 48px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.card-int .icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-50);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.card-int .icon-wrap i {
    font-size: 1.35rem;
    color: var(--accent);
}

.card-int h5 {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.card-int p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    flex-grow: 1;
}

.card-int .btn-link-arrow {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Card with coral/violet icon */
.card-int--coral .icon-wrap {
    background: var(--violet-100);
}

.card-int--coral .icon-wrap i {
    color: var(--violet-600);
}

/* Dark card variant */
.card-int--dark {
    background: var(--gray-900);
    border-color: rgba(255, 255, 255, 0.06);
}

.card-int--dark:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.card-int--dark h5 { color: var(--white); }
.card-int--dark p { color: rgba(255, 255, 255, 0.45); }

/* ---- Badge Tags ---- */

.badge-tag {
    background-color: var(--gray-100);
    color: var(--gray-500);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.72rem;
    padding: 0.3em 0.75em;
    border-radius: var(--radius-full);
    letter-spacing: 0.01em;
}

.badge-tag--sage {
    background-color: var(--violet-50);
    color: var(--accent);
}

/* ---- Stats Strip ---- */

.stats-strip {
    background: var(--gray-950);
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Stat divider on desktop */
@media (min-width: 768px) {
    .stat-item + .stat-item {
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ---- Process Steps (Homepage) ---- */

.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.process-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.process-content h5 {
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ---- Process Timeline (vertical, /process page) ---- */

.process-timeline {
    position: relative;
    padding-left: 3.5rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, var(--violet-600), var(--violet-300));
    border-radius: 1px;
}

.process-timeline .timeline-step {
    position: relative;
    padding: 0 0 3.5rem 2rem;
}

.process-timeline .timeline-step:last-child {
    padding-bottom: 0;
}

.process-timeline .step-number {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    z-index: 1;
}

.process-timeline .timeline-step h4 {
    margin-bottom: 0.5rem;
}

.process-timeline .timeline-step p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ---- CTA Section ---- */

.cta-section {
    background: var(--gray-950);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -80%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300%;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    letter-spacing: -0.035em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.4);
}

/* ---- Testimonial ---- */

.testimonial {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--violet-100);
    font-family: Georgia, serif;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- Device Mockup ---- */

.device-mockup {
    display: flex;
    justify-content: center;
}

.device-frame {
    background: var(--gray-950);
    padding: 0.5rem;
    border-radius: 1.5rem;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.device-phone .device-frame {
    width: 200px;
    padding: 2rem 0.75rem;
    border-radius: 2rem;
}

.device-laptop .device-frame {
    width: 340px;
    padding: 1rem 1rem 2rem;
    border-radius: 1rem;
}

.device-screen {
    background: var(--gray-50);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    min-height: 200px;
}

.device-phone .device-screen {
    min-height: 280px;
}

.device-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.device-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ---- Product Row ---- */

.product-row {
    padding: 3rem 0;
}

.product-row + .product-row {
    border-top: 1px solid var(--border-subtle);
}

.product-info h3 {
    margin-bottom: 0.75rem;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ---- Breadcrumbs ---- */

.breadcrumb-wrap {
    background: transparent;
    padding: 0.75rem 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    font-family: var(--font-heading);
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-hover);
}

.breadcrumb-item.active {
    color: var(--text-tertiary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-tertiary);
}

/* ---- Footer ---- */

.site-footer {
    background: var(--gray-950);
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 2rem 0;
}

.footer-bottom {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-legal {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.15);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---- Backgrounds ---- */

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

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

.bg-ink {
    background-color: var(--gray-950);
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-light-alt {
    background-color: var(--bg-subtle);
}

/* ---- Empty State ---- */

.empty-state {
    padding: 4rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--text-tertiary);
    opacity: 0.4;
}

.empty-state h5 {
    color: var(--text-secondary);
    font-weight: 600;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ---- Contact Form ---- */

.form-control, .form-select {
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all var(--duration-fast) var(--ease-out);
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

/* ---- Values Grid ---- */

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-50);
    border-radius: 16px;
    margin-bottom: 1.25rem;
}

.value-icon i {
    font-size: 1.35rem;
    color: var(--accent);
}

/* ---- Problems Grid (Expertise) ---- */

.problem-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
}

.problem-card:hover {
    border-color: var(--violet-200);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.problem-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-50);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.problem-icon i {
    font-size: 1.1rem;
    color: var(--accent);
}

.problem-card h6 {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ---- Project Filter ---- */

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ---- Tech Stack ---- */

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ---- Animations ---- */

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: 0.48s; }
.stagger-children .fade-up:nth-child(8) { transition-delay: 0.56s; }

/* ---- NDA Trust Signal ---- */

.nda-notice {
    background: var(--violet-50);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---- Utility ---- */

.text-coral { color: var(--accent); }
.text-sage { color: var(--accent); }
.text-stone { color: var(--text-secondary); }
.text-ink { color: var(--text-primary); }

.max-w-lg { max-width: 640px; }
.max-w-md { max-width: 520px; }
.max-w-sm { max-width: 400px; }

/* Responsive container adjustments */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ---- Scroll Progress ---- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet-600), var(--violet-400));
    z-index: 9999;
    transition: width 0.1s linear;
    width: 0%;
}
