@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ================================ */
/* Sales Marker Inspired Design System */
/* Connected Base */
/* ================================ */

/* Root Variables */
:root {
    --color-brand: #0066FF;
    --color-brand-light: #3399FF;
    --color-brand-dark: #0044CC;
    --color-dark-navy: #0d0d1a;
    --color-dark-navy-light: #1a1a2e;
    --color-dark-navy-mid: #16213e;
    --color-white: #ffffff;
    --color-text-dark: #313131;
    --color-text-gray: #6b7280;
    --color-text-light: #9ca3af;
    --color-bg-gray: #f5f5f7;
    --color-bg-gray-dark: #eee;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-accent-blue: #0693e3;
    --color-accent-green: #00d084;
    --color-accent-yellow: #fde704;
    --font-sans: 'Montserrat', 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ================================ */
/* Base Reset & Typography */
/* ================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-sans {
    font-family: var(--font-sans) !important;
}

/* ================================ */
/* Keyframe Animations */
/* ================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

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

@keyframes infiniteScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 102, 255, 0.6); }
}

@keyframes skewIn {
    from { opacity: 0; transform: skewX(-5deg) translateX(20px); }
    to { opacity: 1; transform: skewX(0) translateX(0); }
}

@keyframes arrowSlide {
    0% { transform: translateX(-30%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

@keyframes button-periodic-shine {
    0%,
    72% {
        transform: translateX(-140%);
        opacity: 0;
    }
    76% {
        transform: translateX(-140%);
        opacity: 0.88;
    }
    90% {
        transform: translateX(140%);
        opacity: 0.88;
    }
    94%,
    100% {
        transform: translateX(140%);
        opacity: 0;
    }
}

@keyframes button-hover-skew-sweep {
    100% { left: -10%; }
}

@keyframes button-periodic-glow {
    0%,
    55%,
    100% {
        box-shadow: 0 4px 14px rgba(0, 102, 255, 0.14);
        border-color: rgba(0, 102, 255, 0.4);
    }
    62% {
        box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2), 0 12px 30px rgba(0, 102, 255, 0.3);
        border-color: rgba(0, 102, 255, 0.95);
    }
    78% {
        box-shadow: 0 4px 14px rgba(0, 102, 255, 0.14);
        border-color: rgba(0, 102, 255, 0.4);
    }
}

@keyframes button-star-twinkle {
    0%,
    58%,
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    64% {
        opacity: 0.95;
        transform: scale(1) rotate(18deg);
    }
    72% {
        opacity: 0;
        transform: scale(1.45) rotate(25deg);
    }
}

@keyframes button-text-sparkle {
    0%,
    58%,
    100% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    64% {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 22px rgba(102, 188, 255, 0.7);
    }
    72% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ================================ */
/* White Header */
/* ================================ */

#header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

#header.header-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

#header nav a {
    color: var(--color-text-dark) !important;
    transition: var(--transition-fast);
}

#header nav a:hover {
    color: var(--color-brand) !important;
}

#header .logo-text {
    color: var(--color-text-dark) !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-text-dark) !important;
}

/* Header CTA Button */
.header-cta {
    background: var(--color-brand) !important;
    color: var(--color-white) !important;
    border-radius: 9999px !important;
    padding: 0.625rem 1.5rem !important;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
}

.header-cta:hover {
    background: var(--color-brand-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

#header nav a.header-cta,
#header nav a.header-cta:hover,
#header nav a.header-cta:visited {
    color: #ffffff !important;
}

/* Mobile Menu */
#mobile-menu {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#mobile-menu a {
    color: var(--color-text-dark) !important;
}

#mobile-menu-button {
    color: var(--color-text-dark) !important;
}

/* Header dropdown menu (desktop) */
.header-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.header-nav-dropdown-trigger.is-active {
    font-weight: 600;
    border-bottom: 2px solid #111827;
    padding-bottom: 0.25rem;
}

.header-nav-dropdown-icon {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.header-nav-dropdown-panel-wrap {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 70;
    padding-top: 0.65rem;
    margin-top: -0.1rem;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.header-nav-dropdown-panel {
    min-width: 11rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    padding: 0.4rem;
    transform: translateY(6px);
    transition: transform var(--transition-fast);
}

.header-nav-dropdown:hover .header-nav-dropdown-panel-wrap,
.header-nav-dropdown:focus-within .header-nav-dropdown-panel-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-nav-dropdown:hover .header-nav-dropdown-panel,
.header-nav-dropdown:focus-within .header-nav-dropdown-panel {
    transform: translateY(0);
}

.header-nav-dropdown:hover .header-nav-dropdown-icon,
.header-nav-dropdown:focus-within .header-nav-dropdown-icon {
    transform: rotate(180deg);
}

.header-nav-dropdown-item {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-dark) !important;
}

.header-nav-dropdown-item:hover,
.header-nav-dropdown-item:focus-visible {
    background: rgba(0, 102, 255, 0.08);
    color: var(--color-brand) !important;
    outline: none;
}

.header-nav-dropdown-item.is-active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-brand) !important;
    font-weight: 600;
}

/* ================================ */
/* Text Gradient (Purple Brand) */
/* ================================ */

.text-gradient {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================ */
/* Hero Section - Dark Background */
/* ================================ */

.hero-dark {
    background: var(--color-dark-navy);
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-dark::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(6, 147, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-dark h1,
.hero-dark h2,
.hero-dark h3 {
    color: var(--color-white);
}

.hero-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.hero-dark strong {
    color: var(--color-white);
}

/* ================================ */
/* Hero Section - Light Background */
/* ================================ */

.hero-light {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-light::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-light::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(6, 147, 227, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-light h1,
.hero-light h2,
.hero-light h3 {
    color: var(--color-text-dark);
}

.hero-light p {
    color: var(--color-text-gray);
}

.hero-light strong {
    color: var(--color-text-dark);
}

/* Hero Arrow Decoration */
.hero-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    opacity: 0.1;
    animation: arrowSlide 0.7s ease-out forwards;
}

/* ================================ */
/* Gradient Mesh Background */
/* ================================ */

.gradient-mesh {
    background:
        radial-gradient(at 40% 20%, rgba(0, 102, 255, 0.2) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(6, 147, 227, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(51, 153, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(0, 102, 255, 0.1) 0px, transparent 50%);
}

.gradient-mesh-dark {
    background:
        radial-gradient(at 30% 20%, rgba(0, 102, 255, 0.3) 0px, transparent 50%),
        radial-gradient(at 70% 80%, rgba(6, 147, 227, 0.2) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(51, 153, 255, 0.15) 0px, transparent 50%);
}

/* ================================ */
/* Button Styles */
/* ================================ */

.btn-primary {
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    border-radius: 9999px !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

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

.btn-brand:hover {
    background: var(--color-brand-light) !important;
}

.btn-white {
    background: var(--color-white) !important;
    color: var(--color-dark-navy) !important;
}

.btn-white:hover {
    background: #f0f0f0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--color-white) !important;
    color: var(--color-white) !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.btn-outline-dark {
    background: transparent !important;
    border: 2px solid var(--color-dark-navy) !important;
    color: var(--color-dark-navy) !important;
}

.btn-outline-dark:hover {
    background: var(--color-dark-navy) !important;
    color: var(--color-white) !important;
}

/* Skewed hover animation like Sales Marker */
.btn-hover-skew {
    position: relative;
    overflow: hidden;
}

.btn-hover-skew::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.5s ease;
    transform: skewX(-20deg);
}

.btn-hover-skew:hover::after {
    width: 120%;
}

/* Periodic shine effect like Sales Marker */
.btn-periodic-shine {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #eaf3ff !important;
    border-color: rgba(0, 102, 255, 0.4) !important;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.14);
    animation: button-periodic-glow 6s ease-in-out infinite;
}

.btn-periodic-shine > * {
    position: relative;
    z-index: 2;
}

.btn-periodic-shine .hero-download-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    animation: button-text-sparkle 6s ease-in-out infinite;
}

.btn-periodic-shine .hero-download-copy::before,
.btn-periodic-shine .hero-download-copy::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(to right, transparent 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56%),
        linear-gradient(to bottom, transparent 44%, rgba(255, 255, 255, 0.95) 50%, transparent 56%),
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%);
    filter: drop-shadow(0 0 6px rgba(102, 188, 255, 0.7));
    transform: scale(0.3) rotate(0deg);
}

.btn-periodic-shine .hero-download-copy::before {
    top: -6px;
    right: -10px;
    animation: button-star-twinkle 6s ease-in-out infinite;
}

.btn-periodic-shine .hero-download-copy::after {
    left: -10px;
    bottom: -6px;
    animation: button-star-twinkle 6s ease-in-out 0.3s infinite;
}

.btn-periodic-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 120%;
    height: calc(100% + 2px);
    background: var(--color-brand-dark);
    transform: skewX(-25deg);
    z-index: 1;
    animation: none;
}

.btn-periodic-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.16) 44%,
        rgba(255, 255, 255, 0.90) 50%,
        rgba(102, 188, 255, 0.45) 56%,
        rgba(255, 255, 255, 0) 65%
    );
    transform: translateX(-140%);
    background-repeat: no-repeat;
    filter: blur(0.5px);
    z-index: 3;
    pointer-events: none;
    animation: button-periodic-shine 6s linear infinite;
}

.btn-periodic-shine:hover {
    background: var(--color-brand-dark) !important;
    border-color: var(--color-brand-dark) !important;
    box-shadow: 0 12px 28px rgba(0, 68, 204, 0.35) !important;
}

.btn-periodic-shine:hover .hero-download-label {
    color: #dbeafe;
}

.btn-periodic-shine:hover .hero-download-title {
    color: #ffffff;
}

.btn-periodic-shine:hover::before {
    animation: button-hover-skew-sweep 0.5s forwards;
}

.hero-download-cta {
    width: 100%;
    min-height: 96px;
    padding: 0.85rem 1.1rem;
    border-radius: 16px !important;
    justify-content: flex-start;
    gap: 0.9rem;
}

.hero-download-thumb {
    width: 108px;
    min-width: 108px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

.hero-download-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-download-label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand-dark);
}

.hero-download-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .hero-download-cta {
        min-height: 86px;
        padding: 0.75rem 0.95rem;
        gap: 0.75rem;
    }

    .hero-download-thumb {
        width: 92px;
        min-width: 92px;
        height: 64px;
    }

    .hero-download-title {
        font-size: 0.95rem;
    }
}

/* ================================ */
/* Badge Components */
/* ================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.badge-primary {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-brand);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.badge-success {
    background: rgba(0, 208, 132, 0.1);
    color: #059669;
    border: 1px solid rgba(0, 208, 132, 0.2);
}

.badge-purple {
    background: rgba(51, 153, 255, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(51, 153, 255, 0.2);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-hero-contrast {
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

/* ================================ */
/* Modern Card System */
/* ================================ */

.modern-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 102, 255, 0.15);
}

.pain-point-visual {
    position: relative;
    isolation: isolate;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 102, 255, 0.14);
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.95), rgba(244, 250, 255, 0.8) 45%, rgba(232, 244, 255, 0.95) 100%),
        linear-gradient(135deg, rgba(226, 239, 255, 0.8), rgba(244, 249, 255, 0.95));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 8px 22px rgba(15, 23, 42, 0.06);
}

.pain-point-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 85% 12%, rgba(0, 102, 255, 0.08), transparent 46%),
        radial-gradient(circle at 12% 88%, rgba(10, 111, 255, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.pain-point-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.modern-card:hover .pain-point-visual img {
    transform: scale(1.02);
}

/* Dark Card variant */
.modern-card-dark {
    background: var(--color-dark-navy-light);
    border: 1px solid var(--color-border);
    color: var(--color-white);
}

.modern-card-dark:hover {
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 20px 40px -12px rgba(0, 102, 255, 0.2);
}

.modern-card-dark h3,
.modern-card-dark h4 {
    color: var(--color-white);
}

.modern-card-dark p {
    color: rgba(255, 255, 255, 0.7);
}

/* Allow top badge to protrude from card */
.pricing-popular-card {
    overflow: visible;
}

/* ================================ */
/* Glass Morphism */
/* ================================ */

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ================================ */
/* Tab System (Sales Marker Style) */
/* ================================ */

.tabs-container {
    display: flex;
    gap: 0;
    background: var(--color-dark-navy-light);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border: 1px solid var(--color-border);
}

.tab-button {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
    color: var(--color-white);
    background: var(--color-brand);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

/* Light Tab variant */
.tabs-container-light {
    background: var(--color-bg-gray);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.tab-button-light {
    color: var(--color-text-gray);
}

.tab-button-light:hover {
    color: var(--color-text-dark);
    background: rgba(0, 0, 0, 0.03);
}

.tab-button-light.active {
    color: var(--color-white);
    background: var(--color-brand);
}

/* ================================ */
/* Logo Scroll (Carousel) */
/* ================================ */

.logo-scroll-container {
    overflow: hidden;
    padding: 3rem 0;
    background: var(--color-bg-gray);
    position: relative;
}

.logo-scroll-container::before,
.logo-scroll-container::after {
    display: none !important;
}

.logo-scroll-container::before {
    display: none !important;
}

.logo-scroll-container::after {
    display: none !important;
}

/* Dark variant */
.logo-scroll-dark {
    background: var(--color-dark-navy);
}

.logo-scroll-dark::before {
    background: linear-gradient(to right, var(--color-dark-navy), transparent);
}

.logo-scroll-dark::after {
    background: linear-gradient(to left, var(--color-dark-navy), transparent);
}

.logo-scroll-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 4rem;
    width: fit-content;
    will-change: transform;
    animation: infiniteScroll 40s linear infinite;
}

.logo-scroll-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
    opacity: 1;
    transition: var(--transition-base);
}

.logo-item:hover {
    filter: none;
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ================================ */
/* Stat Numbers */
/* ================================ */

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-number-white {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Dark stat card */
.stat-card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
}

.stat-card-dark:hover {
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.15);
}

/* ================================ */
/* Progress Bar */
/* ================================ */

.progress-bar {
    height: 6px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light));
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

/* ================================ */
/* Testimonial Cards */
/* ================================ */

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: var(--transition-base);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--color-brand);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ================================ */
/* FAQ Accordion */
/* ================================ */

.faq-item {
    transition: var(--transition-base);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: white;
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.2);
}

.faq-question {
    transition: var(--transition-base);
    border-radius: 12px;
    cursor: pointer;
}

.faq-question[aria-expanded="true"] {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--color-brand);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-brand);
}

/* ================================ */
/* Section Backgrounds */
/* ================================ */

.bg-dark-navy {
    background: var(--color-dark-navy);
    color: var(--color-white);
}

.bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4 {
    color: var(--color-white);
}

.bg-dark-navy p {
    color: rgba(255, 255, 255, 0.8);
}

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

.bg-brand-gradient {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    color: var(--color-white);
}

.bg-navy-gradient {
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, var(--color-dark-navy-mid) 50%, var(--color-dark-navy) 100%);
    color: var(--color-white);
}

.bg-purple-gradient {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: var(--color-white);
}

/* Diagonal section divider */
.section-skew {
    position: relative;
}

.section-skew::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    z-index: -1;
}

/* ================================ */
/* Carousel / Swiper Pagination */
/* ================================ */

.swiper-pagination-bullet {
    width: 6px;
    height: 16px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.2);
    transform: skewX(-20deg);
    transition: var(--transition-base);
}

.swiper-pagination-bullet-active {
    background: var(--color-dark-navy);
    height: 20px;
}

/* ================================ */
/* Shadow Utilities */
/* ================================ */

.shadow-glow {
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.3);
}

.shadow-glow-purple {
    box-shadow: 0 0 40px rgba(51, 153, 255, 0.3);
}

.shadow-glow-brand {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.25);
}

/* ================================ */
/* Typography Sizes */
/* ================================ */

.text-xlarge {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.text-xxlarge {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .text-xlarge { font-size: 28px; }
    .text-xxlarge { font-size: 34px; }
}

/* ================================ */
/* Stagger Animation */
/* ================================ */

.stagger-fade-in > * {
    opacity: 0;
    animation: fadeInStagger 0.8s ease-out forwards;
}

.stagger-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade-in > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-fade-in > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-fade-in > *:nth-child(8) { animation-delay: 0.8s; }

/* ================================ */
/* Animate Float */
/* ================================ */

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ================================ */
/* Pricing Cards */
/* ================================ */

.pricing-card {
    position: relative;
    transition: var(--transition-base);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

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

.pricing-popular {
    position: relative;
    transform: scale(1.05);
    border: 2px solid var(--color-brand);
}

/* ================================ */
/* Feature Icon Circles */
/* ================================ */

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.feature-icon-brand {
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.feature-icon-navy {
    background: linear-gradient(135deg, var(--color-dark-navy), var(--color-dark-navy-light));
    box-shadow: 0 8px 20px rgba(13, 13, 26, 0.3);
}

/* ================================ */
/* Skewed Elements */
/* ================================ */

.skew-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-brand);
    opacity: 0.05;
    transform: skewX(-12deg);
    pointer-events: none;
}

/* ================================ */
/* Number Highlight (like metrics) */
/* ================================ */

.metric-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-gray);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ================================ */
/* Footer Dark Navy */
/* ================================ */

.footer-dark {
    background: var(--color-dark-navy);
    color: rgba(255, 255, 255, 0.7);
}

.footer-dark h3, .footer-dark h4 {
    color: var(--color-white);
}

.footer-dark a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-dark a:hover {
    color: var(--color-brand);
}

.footer-dark .footer-border {
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .footer-dark .grid {
        gap: 2rem;
    }
}

/* ================================ */
/* Ripple Effect */
/* ================================ */

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

/* ================================ */
/* Focus Styles (Accessibility) */
/* ================================ */

*:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ================================ */
/* Fade In Elements */
/* ================================ */

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ================================ */
/* Responsive Typography */
/* ================================ */

@media (max-width: 640px) {
    h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
    h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .stat-number { font-size: 2rem; }
    .metric-number { font-size: 2.5rem; }
}

/* ================================ */
/* Skeleton Loading */
/* ================================ */

.skeleton {
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ================================ */
/* Reduce Motion (Accessibility) */
/* ================================ */

@media (prefers-reduced-motion: reduce) {
    *:not(.logo-scroll-track):not(.home-latest-news-inline-title-marquee):not(.hero-paper):not(.hero-paper-shape):not(.hero-paper-burst):not(.hero-paper-burst-shape),
    *:not(.hero-paper-layer-global):not(.hero-paper-burst-layer):not(.hero-paper-shape):not(.hero-paper-burst-shape)::before,
    *:not(.hero-paper-layer-global):not(.hero-paper-burst-layer):not(.hero-paper-shape):not(.hero-paper-burst-shape)::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================ */
/* Print Styles */
/* ================================ */

@media print {
    .no-print { display: none !important; }
    body { background: white; color: black; }
    .glass, .glass-card { background: white; border: 1px solid #e5e7eb; }
}

/* ================================ */
/* Card Hover Skew */
/* ================================ */

.card-skew-hover {
    transition: transform 0.3s ease;
}

.card-skew-hover:hover {
    transform: skewX(-1deg) translateY(-4px);
}

/* ================================ */
/* Gradient Backgrounds for Buttons */
/* ================================ */

.bg-gradient-brand {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
}

.bg-gradient-navy {
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, var(--color-dark-navy-mid) 100%);
}

/* Legacy class support */
.bg-gradient-blue {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-brand) 100%);
}

/* ================================ */
/* Decorative Grid Pattern */
/* ================================ */

.grid-pattern {
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ================================ */
/* Metrics Section (Sales Marker style) */
/* ================================ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.metric-item .metric-number {
    color: var(--color-brand);
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================ */
/* Checkmark list */
/* ================================ */

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.check-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--color-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ================================ */
/* Industry Tab System (Solutions page) */
/* ================================ */

.industry-tab {
    background-color: rgba(0, 102, 255, 0.05);
    color: var(--color-text-gray);
    border: 2px solid transparent;
    transition: var(--transition-base);
    position: relative;
    border-radius: 12px;
}

.industry-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-brand);
    transition: width 0.3s;
}

.industry-tab.active {
    background-color: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.3);
}

.industry-tab.active::before {
    width: 100%;
}

.industry-tab:hover:not(.active) {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--color-brand);
    transform: translateY(-1px);
}

.industry-tab:focus-visible {
    outline: 3px solid rgba(0, 102, 255, 0.35);
    outline-offset: 2px;
}

.industry-content {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.industry-content.active {
    display: block;
}

/* ================================ */
/* Homepage Visual Tune */
/* ================================ */

body {
    background:
        radial-gradient(1600px 900px at 86% -18%, rgba(255, 255, 255, 0.82) 0%, rgba(232, 245, 255, 0.45) 32%, rgba(162, 205, 255, 0.12) 52%, transparent 74%),
        radial-gradient(1400px 760px at -12% 22%, rgba(255, 255, 255, 0.62) 0%, rgba(199, 226, 255, 0.32) 36%, rgba(118, 177, 245, 0.12) 56%, transparent 78%),
        radial-gradient(980px 520px at 50% -18%, rgba(255, 255, 255, 0.46) 0%, rgba(206, 230, 255, 0.16) 34%, transparent 74%),
        linear-gradient(145deg, #001739 0%, #00235d 40%, #0a4e9f 100%);
    color: #e8f2ff;
}

section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(170, 214, 255, 0.2), transparent);
    pointer-events: none;
}

#hero::after,
#contact-cta::after,
.footer-dark::after {
    display: none;
}

section.bg-white,
#pain-points,
#features,
#cases-preview,
#pricing-preview,
#faq {
    background: #ffffff !important;
    color: #1f2937;
}

.bg-gray-light {
    background: var(--color-bg-gray) !important;
    color: #1f2937;
}

#hero.hero-dark {
    background:
        radial-gradient(1450px 760px at 86% -20%, rgba(255, 255, 255, 0.58) 0%, rgba(214, 236, 255, 0.28) 34%, rgba(121, 182, 255, 0.08) 54%, transparent 74%),
        radial-gradient(1180px 640px at -12% 24%, rgba(240, 248, 255, 0.42) 0%, rgba(160, 208, 255, 0.24) 38%, rgba(95, 153, 230, 0.08) 56%, transparent 78%),
        linear-gradient(145deg, #001739 0%, #00235d 42%, #0a4e9f 100%) !important;
}

#hero.hero-dark::before {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.22) 0%, transparent 72%);
}

#hero.hero-dark::after {
    background: radial-gradient(ellipse, rgba(132, 188, 255, 0.18) 0%, transparent 74%);
}

#hero .gradient-mesh {
    opacity: 0.32 !important;
    mix-blend-mode: screen;
}

#hero .badge-primary {
    background: rgba(122, 186, 255, 0.18);
    border-color: rgba(170, 214, 255, 0.38);
    color: #eaf4ff;
}

.text-accent-yellow {
    color: var(--color-accent-yellow) !important;
}

#hero .text-gray-900 {
    color: #f7fbff !important;
}

#hero .text-gray-700 {
    color: #e5f1ff !important;
}

#hero .text-gray-600 {
    color: #d7e8fb !important;
}

#hero .text-gray-500 {
    color: #c8dcf5 !important;
}

#hero .text-gray-400 {
    color: #b8cee9 !important;
}

.text-primary-700 {
    color: #1d4ed8;
}

#contact-cta input,
#contact-cta textarea {
    color: #0f172a !important;
}

#contact-cta input::placeholder,
#contact-cta textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

#hero h1 {
    letter-spacing: -0.03em;
}

#hero .badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
}

.text-xlarge {
    letter-spacing: -0.02em;
}

.modern-card,
.testimonial-card,
.faq-item,
.stat-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.modern-card:hover,
.testimonial-card:hover {
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.14);
}

.feature-icon {
    border-radius: 18px;
}

@supports not (aspect-ratio: 16 / 9) {
    .pain-point-visual {
        height: 168px;
    }
}

.tabs-container {
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tab-button {
    border-radius: 10px;
    font-weight: 700;
}

.btn-primary {
    border-radius: 12px !important;
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn-primary.btn-brand {
    background: linear-gradient(135deg, var(--color-brand) 0%, #1e7bff 100%) !important;
}

.btn-primary.btn-outline-dark {
    border-width: 1px !important;
}

#contact-cta {
    background:
        linear-gradient(140deg, #0057db 0%, #0a6fff 45%, #0a82df 100%);
}

#contact-cta .glass {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

#contact-cta input,
#contact-cta textarea {
    border-radius: 14px;
}

.footer-dark {
    background:
        linear-gradient(180deg, #101523 0%, #0d1220 100%);
}

.hero-float-wrap {
    animation: hero-visual-enter 1.18s cubic-bezier(0.2, 0.8, 0.2, 1) 0.02s both;
    will-change: transform, opacity;
}

.hero-paper-layer {
    position: absolute;
    pointer-events: none;
    overflow: visible;
}

.hero-paper-layer-global {
    inset: -4% -2% -18% -2%;
    z-index: 6;
    opacity: 0.98;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.3) 58%, transparent 66%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, 0.3) 58%, transparent 66%, transparent 100%);
}

.hero-paper-layer-global::before,
.hero-paper-layer-global::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 28%;
    width: 30px;
    height: 40px;
    border-radius: 3px;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(226, 241, 255, 0.98) 70%, rgba(197, 225, 255, 0.9) 100%);
    box-shadow: 0 10px 22px rgba(0, 22, 58, 0.28);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-12deg);
    will-change: transform, opacity;
}

.hero-paper-layer-global::before {
    animation: hero-paper-global-fallback-a 7.8s linear infinite;
}

.hero-paper-layer-global::after {
    left: 40%;
    width: 24px;
    height: 33px;
    animation: hero-paper-global-fallback-b 9.4s linear 1.1s infinite;
}

.hero-paper-layer-global.has-js-papers::before,
.hero-paper-layer-global.has-js-papers::after {
    content: none;
}

.hero-paper-layer.is-complete {
    display: none !important;
}

.hero-paper-layer.is-disabled {
    display: none !important;
}

.hero-paper-burst-layer {
    position: absolute;
    inset: -4% -2% -14% -2%;
    z-index: 40;
    pointer-events: none;
    overflow: visible;
}

.hero-paper-burst-layer.is-complete {
    display: none !important;
}

.hero-paper-burst-layer.is-disabled {
    display: none !important;
}

.hero-paper-burst-layer.has-js-burst::before,
.hero-paper-burst-layer.has-js-burst::after {
    content: none;
}

.hero-paper-layer.is-paused .hero-paper,
.hero-paper-layer.is-paused .hero-paper-shape {
    animation-play-state: paused !important;
}

.hero-paper-burst-layer::before,
.hero-paper-burst-layer::after {
    content: '';
    position: absolute;
    top: 48%;
    left: 78%;
    width: 44px;
    height: 58px;
    border-radius: 3px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 1) 0%, rgba(217, 238, 255, 0.98) 72%, rgba(183, 220, 255, 0.9) 100%);
    box-shadow: 0 16px 32px rgba(0, 22, 58, 0.38);
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-12deg) scale(0.8);
    animation: hero-paper-burst-fallback 1.8s cubic-bezier(0.2, 0.86, 0.32, 1) 0.18s both;
}

.hero-paper-burst-layer::after {
    width: 36px;
    height: 48px;
    left: 80%;
    animation-delay: 0.34s;
    animation-duration: 1.55s;
}

.hero-paper {
    position: absolute;
    top: var(--paper-start-y, -18%);
    left: var(--paper-start-x, 80%);
    width: var(--paper-size, 22px);
    height: calc(var(--paper-size, 22px) * 1.35);
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--paper-start-rot, 0deg));
    animation: hero-paper-fall var(--paper-duration, 4.5s) linear var(--paper-delay, 0s) infinite;
    will-change: transform, opacity;
}

.hero-paper-shape {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(226, 241, 255, 0.98) 70%, rgba(197, 225, 255, 0.9) 100%);
    box-shadow: 0 8px 18px rgba(0, 22, 58, 0.22);
    transform-origin: center;
    animation: hero-paper-flutter var(--paper-flutter, 1s) ease-in-out infinite;
}

.hero-paper-shape::before {
    content: '';
    position: absolute;
    left: 18%;
    top: 22%;
    width: 62%;
    height: 2px;
    background: rgba(138, 166, 203, 0.58);
    box-shadow:
        0 6px 0 rgba(138, 166, 203, 0.48),
        0 12px 0 rgba(138, 166, 203, 0.38);
}

.hero-paper-shape::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent rgba(188, 214, 241, 0.95) transparent;
}

.hero-paper-burst {
    position: absolute;
    top: var(--burst-origin-y, 48%);
    left: var(--burst-origin-x, 68%);
    width: var(--burst-size, 22px);
    height: calc(var(--burst-size, 22px) * 1.35);
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--burst-start-rot, -12deg)) scale(0.75);
    animation: hero-paper-burst var(--burst-duration, 1.05s) cubic-bezier(0.2, 0.86, 0.32, 1) var(--burst-delay, 0s) forwards;
    will-change: transform, opacity;
}

.hero-paper-burst-shape {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.84);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(218, 236, 255, 0.92) 72%, rgba(196, 222, 248, 0.84) 100%);
    box-shadow: 0 7px 16px rgba(0, 22, 58, 0.18);
    transform-origin: center;
    animation: hero-paper-burst-flutter var(--burst-flutter, 0.28s) ease-in-out var(--burst-delay, 0s) 3;
}

.hero-paper-burst-shape::before {
    content: '';
    position: absolute;
    left: 18%;
    top: 22%;
    width: 62%;
    height: 2px;
    background: rgba(138, 166, 203, 0.58);
    box-shadow:
        0 6px 0 rgba(138, 166, 203, 0.48),
        0 12px 0 rgba(138, 166, 203, 0.38);
}

.hero-paper-burst-shape::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent rgba(188, 214, 241, 0.95) transparent;
}

.hero-main-image {
    opacity: 0;
    animation: hero-main-rise 1.02s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
    will-change: transform, opacity;
}

@keyframes hero-industry-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-2.2deg);
    }
    50% {
        transform: translate3d(0, -4px, 0) rotate(-1deg);
    }
}

@keyframes hero-industry-glow {
    0%, 100% {
        box-shadow:
            0 14px 28px rgba(2, 6, 23, 0.26),
            0 6px 14px rgba(15, 23, 42, 0.18),
            0 0 0 1px rgba(191, 219, 254, 0.05) inset;
    }
    50% {
        box-shadow:
            0 18px 32px rgba(2, 6, 23, 0.3),
            0 8px 16px rgba(30, 64, 175, 0.16),
            0 0 0 1px rgba(191, 219, 254, 0.08) inset,
            0 0 18px rgba(96, 165, 250, 0.14);
    }
}

.hero-industry-float {
    position: absolute;
    top: 0.6rem;
    left: 0.9rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    padding: 0.38rem 0.46rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.62) 38%, rgba(14, 55, 112, 0.56) 100%),
        rgba(15, 23, 42, 0.62);
    color: #eff6ff;
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-shadow: none;
    box-shadow:
        0 14px 28px rgba(2, 6, 23, 0.26),
        0 6px 14px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    animation:
        hero-industry-float 5.8s ease-in-out infinite,
        hero-industry-glow 5.8s ease-in-out infinite;
}

.hero-industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 9999px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), transparent 58%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 1px 4px rgba(2, 6, 23, 0.18);
    color: #f8fbff;
    line-height: 1;
    text-shadow: none;
}

.hero-industry-icon svg {
    width: 1.08rem;
    height: 1.08rem;
    display: block;
    flex-shrink: 0;
}

.hero-industry-float-text {
    display: inline-flex;
    align-items: center;
    margin-left: 0.1rem;
    padding-left: 0.42rem;
    border-left: 1px solid rgba(191, 219, 254, 0.22);
    color: #e2e8f0;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-shadow: none;
}

@media (max-width: 767px) {
    .hero-industry-float {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-industry-float {
        top: 0.55rem;
        left: 0.65rem;
        gap: 0.3rem;
        padding: 0.34rem 0.4rem;
    }

    .hero-industry-icon {
        width: 1.72rem;
        height: 1.72rem;
    }

    .hero-industry-icon svg {
        width: 0.92rem;
        height: 0.92rem;
    }

    .hero-industry-float-text {
        margin-left: 0.05rem;
        padding-left: 0.34rem;
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }
}

.hero-bubble {
    --hero-bubble-accent: #2563eb;
    position: absolute;
    z-index: 60;
    max-width: 246px;
    padding: 0.9rem 0.95rem 0.82rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(248, 251, 255, 0.93);
    backdrop-filter: blur(6px) saturate(1.05);
    -webkit-backdrop-filter: blur(6px) saturate(1.05);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
}

.hero-bubble::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, var(--hero-bubble-accent) 0%, #1d4ed8 100%);
    opacity: 0.95;
}

.hero-bubble::after {
    content: none;
}

.hero-bubble .hero-bubble-title {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.28rem;
    letter-spacing: -0.01em;
}

.hero-bubble .hero-bubble-body {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #475569;
}

.hero-bubble-estimate {
    top: 0.95rem;
    right: 0.85rem;
    animation: hero-bubble-enter-right 0.64s cubic-bezier(0.22, 1, 0.36, 1) 0.74s both;
}

.hero-bubble-plan {
    top: 40%;
    left: 0.85rem;
    animation: hero-bubble-enter-left 0.64s cubic-bezier(0.22, 1, 0.36, 1) 1.02s both;
}

.hero-bubble-cost {
    right: 0.85rem;
    bottom: 0.95rem;
    animation: hero-bubble-enter-bottom-right 0.66s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}

@keyframes hero-visual-enter {
    0% {
        opacity: 0;
        transform: translate3d(320px, 0, 0) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-main-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 150px, 0) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-bubble-enter-right {
    0% {
        opacity: 0;
        transform: translate3d(68px, 10px, 0) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-bubble-enter-left {
    0% {
        opacity: 0;
        transform: translate3d(-68px, 10px, 0) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-bubble-enter-bottom-right {
    0% {
        opacity: 0;
        transform: translate3d(58px, 42px, 0) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes hero-image-float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@keyframes hero-paper-fall {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(var(--paper-start-rot, 0deg));
    }
    12% {
        opacity: var(--paper-opacity, 0.9);
    }
    78% {
        opacity: calc(var(--paper-opacity, 0.9) * 0.8);
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--paper-dx, 0px), var(--paper-dy, 0px), 0) rotate(var(--paper-end-rot, 140deg));
    }
}

@keyframes hero-paper-global-fallback-a {
    0% {
        opacity: 0;
        transform: translate3d(0, -10px, 0) rotate(-12deg);
    }
    8% {
        opacity: 0.92;
    }
    48% {
        opacity: 0.9;
        transform: translate3d(-180px, 220px, 0) rotate(-86deg);
    }
    92% {
        opacity: 0.7;
        transform: translate3d(-320px, 560px, 0) rotate(-160deg);
    }
    100% {
        opacity: 0;
        transform: translate3d(-360px, 640px, 0) rotate(-176deg);
    }
}

@keyframes hero-paper-global-fallback-b {
    0% {
        opacity: 0;
        transform: translate3d(0, -20px, 0) rotate(8deg);
    }
    10% {
        opacity: 0.9;
    }
    44% {
        opacity: 0.88;
        transform: translate3d(-120px, 180px, 0) rotate(64deg);
    }
    86% {
        opacity: 0.72;
        transform: translate3d(-280px, 500px, 0) rotate(148deg);
    }
    100% {
        opacity: 0;
        transform: translate3d(-320px, 620px, 0) rotate(170deg);
    }
}

@keyframes hero-paper-flutter {
    0%, 100% {
        transform: rotate(-8deg) translateY(0);
    }
    50% {
        transform: rotate(8deg) translateY(-4px);
    }
}

@keyframes hero-paper-burst {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(var(--burst-start-rot, -12deg)) scale(0.75);
    }
    18% {
        opacity: var(--burst-opacity, 0.94);
    }
    82% {
        opacity: var(--burst-opacity, 0.94);
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--burst-x, 150px), var(--burst-y, -40px), 0) rotate(var(--burst-end-rot, 160deg)) scale(1);
    }
}

@keyframes hero-paper-burst-flutter {
    0% {
        transform: rotate(-9deg) translateY(0);
    }
    50% {
        transform: rotate(8deg) translateY(-3px);
    }
    100% {
        transform: rotate(-4deg) translateY(0);
    }
}

@keyframes hero-paper-burst-fallback {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(-16deg) scale(0.72);
    }
    10% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(-16deg) scale(0.72);
    }
    14% {
        opacity: 1;
    }
    28% {
        opacity: 1;
        transform: translate3d(-300px, -170px, 0) rotate(-220deg) scale(1.06);
    }
    34%,
    100% {
        opacity: 0;
        transform: translate3d(-300px, -170px, 0) rotate(-220deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-paper-layer-global::before {
        animation-duration: 10.8s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

    .hero-paper-layer-global::after {
        animation-duration: 12.6s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

    .hero-paper-layer {
        display: block !important;
    }

    .hero-paper-burst-layer {
        display: block !important;
    }

    .hero-paper-burst-layer::before,
    .hero-paper-burst-layer::after {
        animation-duration: 1.8s !important;
        animation-iteration-count: 1 !important;
        animation-fill-mode: both !important;
        opacity: 0 !important;
    }

    .hero-paper-burst-layer::after {
        animation-duration: 1.55s !important;
        animation-delay: 0.34s !important;
    }

    .hero-paper-burst {
        animation-duration: var(--burst-duration, 1.1s) !important;
        animation-delay: var(--burst-delay, 0s) !important;
        animation-iteration-count: 1 !important;
        animation-fill-mode: both !important;
    }

    .hero-paper-burst-shape {
        animation-duration: var(--burst-flutter, 0.28s) !important;
        animation-iteration-count: 3 !important;
    }

    .hero-paper {
        animation-duration: var(--paper-duration, 4.5s) !important;
        animation-delay: var(--paper-delay, 0s) !important;
        animation-iteration-count: infinite !important;
    }

    .hero-paper-shape {
        animation-duration: var(--paper-flutter, 1s) !important;
        animation-iteration-count: infinite !important;
    }

    .hero-float-wrap,
    .hero-main-image {
        animation-duration: 0.55s !important;
    }

    .hero-industry-float {
        animation: none !important;
        transform: none !important;
    }

    .hero-bubble,
    .hero-bubble-estimate,
    .hero-bubble-plan,
    .hero-bubble-cost {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1023px) {
    .hero-industry-float {
        display: none;
    }

    .hero-paper-layer-global {
        inset: -4% -4% 44% -4%;
        z-index: 24;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-paper-layer-global::before {
        left: 58%;
        width: 28px;
        height: 38px;
        animation-duration: 6.8s;
    }

    .hero-paper-layer-global::after {
        left: 80%;
        width: 22px;
        height: 30px;
        animation-duration: 8.2s;
    }
}

@media (max-width: 768px) {
    .modern-card,
    .testimonial-card {
        border-radius: 16px;
    }

    .btn-primary {
        border-radius: 10px !important;
    }
}

/* Hero tweaks without editing text content */
#hero .hero-main-image:hover {
    transform: none !important;
}

.hero-mobile-title-main {
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(2, 6, 23, 0.62);
}

#hero .hero-mobile-chip-list {
    left: 0.85rem;
    right: auto;
    bottom: 0.85rem;
    max-width: min(76%, 19.5rem);
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

#hero .hero-mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background:
        linear-gradient(135deg, rgba(11, 19, 37, 0.76) 0%, rgba(15, 23, 42, 0.66) 52%, rgba(16, 44, 92, 0.62) 100%) !important;
    color: #f8fbff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow:
        0 10px 22px rgba(2, 6, 23, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(115%) !important;
    padding: 0.42rem 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 100%;
    white-space: normal;
}

#hero .hero-mobile-chip-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #dbeafe;
}

#hero .hero-mobile-chip-icon svg {
    width: 1rem;
    height: 1rem;
    display: block;
    flex-shrink: 0;
}

#hero .hero-mobile-chip-label {
    min-width: 0;
}

@media (min-width: 640px) and (max-width: 767px) {
    #hero .hero-mobile-chip-list {
        max-width: calc(100% - 1.7rem);
        flex-direction: row;
        flex-wrap: wrap;
    }

    #hero .hero-mobile-chip {
        white-space: nowrap;
    }
}

#hero .hero-mobile-chip--optional {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-bubble {
        max-width: 208px;
        padding: 0.76rem 0.8rem 0.72rem 0.9rem;
        border-radius: 13px;
    }

    .hero-bubble::before {
        width: 3px;
        border-radius: 13px 0 0 13px;
    }

    .hero-bubble .hero-bubble-title {
        font-size: 0.82rem;
        margin-bottom: 0.22rem;
    }

    .hero-bubble .hero-bubble-body {
        font-size: 0.74rem;
    }

    .hero-bubble-estimate {
        top: 0.72rem;
        right: 0.62rem;
    }

    .hero-bubble-plan {
        top: 39%;
        left: 0.62rem;
    }

    .hero-bubble-cost {
        right: 0.62rem;
        bottom: 0.72rem;
    }
}

@media (min-width: 1024px) {
    #hero h1 .text-gradient {
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-periodic-shine {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }

    .btn-periodic-shine::after {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }

    .btn-periodic-shine .hero-download-copy {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }

    .btn-periodic-shine .hero-download-copy::before,
    .btn-periodic-shine .hero-download-copy::after {
        animation-duration: 6s !important;
        animation-iteration-count: infinite !important;
    }
}

/* ================================ */
/* Cases Page Styles */
/* ================================ */

/* Hero override for cases page */
#cases-hero {
    background:
        radial-gradient(1450px 760px at 86% -20%, rgba(255, 255, 255, 0.12) 0%, rgba(100, 180, 255, 0.08) 34%, transparent 74%),
        radial-gradient(1180px 640px at -12% 24%, rgba(80, 160, 255, 0.1) 0%, rgba(60, 130, 230, 0.06) 38%, transparent 78%),
        linear-gradient(145deg, #001739 0%, #00235d 42%, #0a4e9f 100%);
}

#cases-hero::after {
    display: none;
}

/* Filter Tabs */
.cases-filter-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cases-filter-scroll::-webkit-scrollbar {
    display: none;
}

.cases-filter-tab {
    flex-shrink: 0;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-gray);
    background: transparent;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.cases-filter-tab:hover {
    color: var(--color-brand);
    background: rgba(0, 102, 255, 0.05);
}

.cases-filter-tab.active {
    color: var(--color-white);
    background: var(--color-brand);
    border-color: var(--color-brand-dark);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Cases Cards */
.cases-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    transition: var(--transition-base);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cases-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cases-card-featured {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cases-card-featured:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

/* Card Accent Bar */
.cases-card-accent {
    height: 4px;
    width: 100%;
    transition: height 0.3s ease;
}

.cases-card:hover .cases-card-accent {
    height: 6px;
}

.cases-accent-blue {
    background: linear-gradient(90deg, #0066FF, #3399FF);
}

.cases-accent-purple {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.cases-accent-green {
    background: linear-gradient(90deg, #059669, #34d399);
}

.cases-accent-orange {
    background: linear-gradient(90deg, #ea580c, #fb923c);
}

.cases-accent-indigo {
    background: linear-gradient(90deg, #4f46e5, #818cf8);
}

/* Cases Badge */
.cases-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cases-badge-blue {
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
}

.cases-badge-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.cases-badge-green {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.cases-badge-orange {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.cases-badge-indigo {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

/* Cases Quote */
.cases-quote {
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid;
}

.cases-quote-blue {
    background: rgba(0, 102, 255, 0.04);
    border-left-color: #0066FF;
}

.cases-quote-purple {
    background: rgba(124, 58, 237, 0.04);
    border-left-color: #7c3aed;
}

.cases-quote-green {
    background: rgba(5, 150, 105, 0.04);
    border-left-color: #059669;
}

.cases-quote-orange {
    background: rgba(234, 88, 12, 0.04);
    border-left-color: #ea580c;
}

.cases-quote-indigo {
    background: rgba(79, 70, 229, 0.04);
    border-left-color: #4f46e5;
}

/* Filter animation */
.cases-card.cases-hidden {
    display: none;
}

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

.cases-card.cases-visible {
    animation: casesCardFadeIn 0.4s ease-out forwards;
}

/* ============================================
   Home Latest News (index.html)
   ============================================ */
/* Latest news ticker now sits inside #hero, so reduce leftover hero bottom space. */
#hero {
    padding-bottom: 1.25rem;
}

#home-latest-news {
    position: relative;
    z-index: 10;
    margin-top: -0.35rem;
    padding-top: 0.2rem;
    padding-bottom: 0;
    background: transparent;
}

#home-latest-news::after {
    display: none;
}

#home-latest-news .home-latest-news-header {
    margin-bottom: 0.45rem;
}

#home-latest-news .home-latest-news-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    box-shadow: none;
}

#home-latest-news .home-latest-news-inline-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    border-radius: 9999px;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(147, 197, 253, 0.24);
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}

#home-latest-news .home-latest-news-inline-sep {
    flex: 0 0 auto;
    color: rgba(226, 232, 240, 0.35);
    font-size: 0.8rem;
    line-height: 1;
}

#home-latest-news .home-latest-news-inline-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: #f8fafc;
}

#home-latest-news .home-latest-news-inline-date {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.72);
    white-space: nowrap;
}

#home-latest-news .home-latest-news-inline-title {
    min-width: 0;
    display: block;
    position: relative;
    font-size: 0.86rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#home-latest-news .home-latest-news-inline-title-text {
    display: inline-block;
}

#home-latest-news .home-latest-news-inline-link:hover .home-latest-news-inline-title {
    color: #bfdbfe;
}

@keyframes homeLatestNewsTitleMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--home-news-marquee-shift, 0));
    }
}

#home-latest-news .home-latest-news-fallback {
    display: inline-flex;
    align-items: center;
}

#home-latest-news #home-latest-news-heading {
    font-size: 1.15rem;
    line-height: 1.2;
}

#home-latest-news .badge {
    padding: 0.22rem 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

#home-latest-news .home-latest-news-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0b5bd3;
    text-decoration: none;
}

#home-latest-news .home-latest-news-list-link::after {
    content: "→";
    transition: transform 0.18s ease;
}

#home-latest-news .home-latest-news-list-link:hover::after {
    transform: translateX(2px);
}

#home-latest-news .home-latest-news-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#home-latest-news .home-latest-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border-color: #dbe3ee;
}

#home-latest-news .home-latest-news-media-wrap {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    aspect-ratio: 2.2 / 1;
}

#home-latest-news .home-latest-news-image {
    width: 100%;
    aspect-ratio: 2.2 / 1;
    object-fit: cover;
    display: block;
}

#home-latest-news .home-latest-news-body {
    padding: 0.75rem 0.8rem;
}

#home-latest-news .home-latest-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

#home-latest-news .home-latest-news-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.66rem;
    font-weight: 700;
    border: 1px solid #dbeafe;
    background: #f4f8ff;
    color: #1d4ed8;
    letter-spacing: 0.01em;
}

#home-latest-news .home-latest-news-tag::before {
    content: "";
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 9999px;
    background: currentColor;
    opacity: 0.7;
}

#home-latest-news .home-latest-news-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.02em;
}

#home-latest-news .home-latest-news-title {
    margin: 0;
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

#home-latest-news .home-latest-news-excerpt {
    margin: 0.35rem 0 0;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

#home-latest-news .home-latest-news-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    color: #0b5bd3;
    font-size: 0.8rem;
    font-weight: 800;
}

#home-latest-news .home-latest-news-cta::after {
    content: "→";
    transition: transform 0.18s ease;
}

#home-latest-news .home-latest-news-card:hover .home-latest-news-cta::after {
    transform: translateX(2px);
}

@media (min-width: 640px) {
    #home-latest-news {
        padding-top: 0.55rem;
        padding-bottom: 0;
    }

    #home-latest-news .home-latest-news-inline {
        padding: 0.55rem 0.9rem;
        gap: 0.6rem;
    }

    #home-latest-news .home-latest-news-inline-title {
        font-size: 0.9rem;
    }

    #home-latest-news .home-latest-news-card {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    }

    #home-latest-news .home-latest-news-media-wrap {
        border-right: 1px solid #e5e7eb;
        border-bottom: none;
        aspect-ratio: auto;
    }

    #home-latest-news .home-latest-news-image {
        height: 100%;
        min-height: 100%;
        aspect-ratio: auto;
    }

    #home-latest-news .home-latest-news-body {
        padding: 0.8rem 0.9rem;
    }

    #home-latest-news #home-latest-news-heading {
        font-size: 1.25rem;
    }

    #home-latest-news .home-latest-news-excerpt {
        display: -webkit-box;
    }
}

@media (min-width: 1024px) {
    #hero {
        padding-bottom: 1.75rem;
    }

    #home-latest-news .max-w-6xl {
        max-width: 80rem;
    }

    #home-latest-news {
        margin-top: -0.9rem;
        padding-top: 0.45rem;
        padding-bottom: 0;
    }

    #home-latest-news .home-latest-news-inline {
        width: min(100%, calc(50% - 2rem));
        padding: 0.55rem 0.95rem;
        border-radius: 0.9rem;
    }

    #home-latest-news .home-latest-news-inline-label {
        font-size: 0.74rem;
    }

    #home-latest-news .home-latest-news-inline-date {
        font-size: 0.74rem;
    }

    #home-latest-news .home-latest-news-inline-title {
        font-size: 0.92rem;
    }

    #home-latest-news .home-latest-news-inline-title.is-overflow {
        text-overflow: clip;
    }

    #home-latest-news .home-latest-news-inline-title.is-overflow .home-latest-news-inline-title-marquee {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        will-change: transform;
        animation: homeLatestNewsTitleMarquee var(--home-news-marquee-duration, 10s) linear infinite;
    }

    #home-latest-news .home-latest-news-inline-title-marquee-gap {
        display: inline-block;
        min-width: 60px;
        flex-shrink: 0;
    }

    #home-latest-news .home-latest-news-inline-link:hover .home-latest-news-inline-title.is-overflow .home-latest-news-inline-title-marquee {
        animation-play-state: paused;
    }

    #home-latest-news .home-latest-news-header {
        margin-bottom: 0.65rem;
    }

    #home-latest-news .home-latest-news-card {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
        border-radius: 0.95rem;
    }

    #home-latest-news .home-latest-news-body {
        padding: 0.9rem 1rem;
    }

    #home-latest-news .home-latest-news-title {
        font-size: 1rem;
    }
}

@media (max-width: 639px) {
    #home-latest-news .home-latest-news-inline {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    #home-latest-news .home-latest-news-inline-sep {
        display: none;
    }

    #home-latest-news .home-latest-news-inline-link {
        width: 100%;
    }

    #home-latest-news .home-latest-news-inline-date {
        font-size: 0.68rem;
    }

    #home-latest-news .home-latest-news-inline-title {
        font-size: 0.82rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    #home-latest-news .home-latest-news-inline-title-text {
        display: inline;
        animation: none !important;
        transform: none !important;
    }

    #home-latest-news .home-latest-news-excerpt {
        display: none;
    }
}

/* ================================ */
/* Case Study Page Styles */
/* ================================ */

#casestudy-hero {
    background:
        radial-gradient(1380px 760px at 90% -18%, rgba(255, 255, 255, 0.14) 0%, rgba(76, 150, 255, 0.1) 36%, transparent 74%),
        radial-gradient(980px 540px at -10% 18%, rgba(66, 125, 226, 0.13) 0%, rgba(66, 125, 226, 0.07) 40%, transparent 78%),
        linear-gradient(145deg, #001838 0%, #01295f 44%, #0a4e9f 100%);
}

#casestudy-hero::after {
    display: none;
}

.casestudy-hero-stat {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 0.9rem 1rem;
    backdrop-filter: blur(4px);
}

.casestudy-hero-stat-value {
    color: #fff;
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.casestudy-hero-stat-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.35rem 0 0;
}

.casestudy-featured-wrap {
    display: grid;
    gap: 1rem;
}

.casestudy-featured-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(220px 100px at 90% 0%, rgba(0, 102, 255, 0.08), transparent 72%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.casestudy-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
    border-color: rgba(59, 130, 246, 0.22);
}

.casestudy-featured-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    overflow: hidden;
}

.casestudy-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.casestudy-featured-card:hover .casestudy-card-image,
.casestudy-grid-card:hover .casestudy-card-image {
    transform: scale(1.03);
}

.casestudy-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.1rem 1.1rem 1.15rem;
}

.casestudy-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    padding: 0.28rem 0.55rem;
}

.casestudy-kicker::before {
    content: "";
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 9999px;
    background: currentColor;
    opacity: 0.85;
}

.casestudy-featured-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.18rem;
    line-height: 1.42;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.casestudy-featured-company {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
}

.casestudy-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin-top: 0.15rem;
    color: #0b5bd3;
    font-weight: 800;
    font-size: 0.88rem;
}

.casestudy-link-chip::after {
    content: "→";
    opacity: 0.75;
    transition: transform 0.18s ease;
}

.casestudy-featured-card:hover .casestudy-link-chip::after {
    transform: translateX(2px);
}

.casestudy-grid-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.casestudy-grid-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.casestudy-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
    border-color: rgba(59, 130, 246, 0.18);
}

.casestudy-grid-media {
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    overflow: hidden;
}

.casestudy-grid-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.95rem 1rem 1rem;
    min-height: 11rem;
}

.casestudy-grid-company {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 700;
    color: #0b5bd3;
    letter-spacing: 0.02em;
}

.casestudy-grid-title {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    line-height: 1.48;
    font-weight: 800;
}

.casestudy-grid-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #334155;
    font-weight: 700;
    font-size: 0.82rem;
}

.casestudy-grid-cta::after {
    content: "→";
    color: #0b5bd3;
    opacity: 0.85;
    transition: transform 0.18s ease;
}

.casestudy-grid-card:hover .casestudy-grid-cta::after {
    transform: translateX(2px);
}

@media (min-width: 768px) {
    .casestudy-grid-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .casestudy-featured-body {
        padding: 1.25rem 1.25rem 1.35rem;
    }

    .casestudy-featured-title {
        font-size: 1.32rem;
    }
}

@media (min-width: 1024px) {
    .casestudy-featured-wrap {
        gap: 1.25rem;
    }

    .casestudy-featured-card {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        min-height: 22.5rem;
    }

    .casestudy-featured-media {
        aspect-ratio: auto;
        height: 100%;
    }

    .casestudy-featured-body {
        padding: 1.5rem 1.55rem 1.55rem;
        gap: 0.8rem;
    }

    .casestudy-featured-title {
        font-size: 1.55rem;
        line-height: 1.4;
    }

    .casestudy-featured-company {
        font-size: 1rem;
    }

    .casestudy-grid-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .casestudy-grid-body {
        min-height: 12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .casestudy-featured-card,
    .casestudy-grid-card,
    .casestudy-card-image,
    .casestudy-link-chip::after,
    .casestudy-grid-cta::after {
        transition: none !important;
    }
}

/* ============================================
   LP Pages (lp/*.html)
   ============================================ */
.lp-page {
    --lp-accent: #3b82f6;
    --lp-accent-soft: rgba(59, 130, 246, 0.14);
    --lp-accent-strong: #1d4ed8;
    --lp-surface: #ffffff;
    --lp-surface-muted: #f8fafc;
    --lp-border: rgba(148, 163, 184, 0.22);
    --lp-text: #0f172a;
    --lp-muted: #475569;
    color: var(--lp-text);
}

.lp-theme-indigo { --lp-accent: #6366f1; --lp-accent-soft: rgba(99, 102, 241, 0.14); --lp-accent-strong: #4338ca; }
.lp-theme-emerald { --lp-accent: #10b981; --lp-accent-soft: rgba(16, 185, 129, 0.14); --lp-accent-strong: #047857; }
.lp-theme-amber { --lp-accent: #f59e0b; --lp-accent-soft: rgba(245, 158, 11, 0.16); --lp-accent-strong: #d97706; }
.lp-theme-sky { --lp-accent: #0ea5e9; --lp-accent-soft: rgba(14, 165, 233, 0.14); --lp-accent-strong: #0284c7; }
.lp-theme-rose { --lp-accent: #f43f5e; --lp-accent-soft: rgba(244, 63, 94, 0.14); --lp-accent-strong: #e11d48; }
.lp-theme-orange { --lp-accent: #f97316; --lp-accent-soft: rgba(249, 115, 22, 0.14); --lp-accent-strong: #ea580c; }
.lp-theme-blue { --lp-accent: #3b82f6; --lp-accent-soft: rgba(59, 130, 246, 0.14); --lp-accent-strong: #2563eb; }
.lp-theme-cyan { --lp-accent: #06b6d4; --lp-accent-soft: rgba(6, 182, 212, 0.14); --lp-accent-strong: #0891b2; }
.lp-theme-teal { --lp-accent: #14b8a6; --lp-accent-soft: rgba(20, 184, 166, 0.14); --lp-accent-strong: #0f766e; }
.lp-theme-violet { --lp-accent: #8b5cf6; --lp-accent-soft: rgba(139, 92, 246, 0.14); --lp-accent-strong: #7c3aed; }
.lp-theme-slate { --lp-accent: #64748b; --lp-accent-soft: rgba(100, 116, 139, 0.14); --lp-accent-strong: #475569; }
.lp-theme-purple { --lp-accent: #a855f7; --lp-accent-soft: rgba(168, 85, 247, 0.14); --lp-accent-strong: #9333ea; }
.lp-theme-green { --lp-accent: #22c55e; --lp-accent-soft: rgba(34, 197, 94, 0.14); --lp-accent-strong: #16a34a; }
.lp-theme-pink { --lp-accent: #ec4899; --lp-accent-soft: rgba(236, 72, 153, 0.14); --lp-accent-strong: #db2777; }

.lp-main {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(15, 23, 42, 0.05) 0%, transparent 35%),
        #f8fafc;
}

.lp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 100% 20%, color-mix(in srgb, var(--lp-accent) 30%, transparent) 0%, transparent 50%),
        linear-gradient(135deg, #081225 0%, #0f1b34 48%, #111827 100%);
}

.lp-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 30%, black 45%, transparent 90%);
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lp-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.lp-hero-title {
    font-size: clamp(1.8rem, 4vw, 3.15rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.lp-btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.lp-page .btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-strong) 100%);
    border: 1px solid color-mix(in srgb, var(--lp-accent) 62%, white);
    box-shadow:
        0 14px 26px color-mix(in srgb, var(--lp-accent) 28%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.lp-page .btn-primary:hover,
.lp-page .btn-primary:focus-visible,
.lp-page .btn-primary:visited {
    color: #fff !important;
}

.lp-hero-visual {
    position: relative;
    border-radius: 1.4rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.35);
}

.lp-hero-visual > img {
    width: 100%;
    display: block;
    border-radius: 1rem;
    object-fit: cover;
    aspect-ratio: 16 / 11;
}

.lp-hero-overlay-card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.2rem;
    border-radius: 0.95rem;
    padding: 0.8rem 0.95rem;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #fff;
}

.lp-hero-overlay-label {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    font-weight: 700;
}

.lp-hero-overlay-copy {
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
}

.lp-hero-ebook-card {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-radius: 0.95rem;
    padding: 0.6rem 0.7rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    max-width: min(18rem, calc(100% - 2rem));
}

.lp-hero-ebook-card img {
    width: 3.4rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 0.55rem;
    background: #fff;
    padding: 0.2rem;
}

.lp-hero-ebook-label {
    margin: 0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.3;
}

.lp-hero-ebook-meta {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.4;
}

.lp-section {
    padding: 4rem 0;
}

.lp-section-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(248, 250, 252, 0.78) 100%);
}

.lp-section-head {
    margin-bottom: 1.35rem;
}

.lp-section-eyebrow {
    margin: 0 0 0.45rem;
    color: var(--lp-accent-strong);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
}

.lp-section-title {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-section-intro {
    margin: 0.6rem 0 0;
    color: var(--lp-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    max-width: 58rem;
}

.lp-surface-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 1.05rem 1.05rem 1.1rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.lp-surface-card-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.lp-card-kicker {
    color: var(--lp-accent-strong);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.lp-card-title {
    margin: 0;
    color: var(--lp-text);
    font-size: 1.03rem;
    line-height: 1.4;
    font-weight: 800;
}

.lp-card-body {
    margin: 0.45rem 0 0;
    color: var(--lp-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.lp-check-list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.lp-check-list li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--lp-text);
    line-height: 1.65;
}

.lp-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 9999px;
    background: var(--lp-accent-soft);
    border: 1px solid color-mix(in srgb, var(--lp-accent) 55%, white);
    box-shadow: inset 0 0 0 0.18rem rgba(255, 255, 255, 0.95);
}

.lp-visual-grid {
    display: grid;
    gap: 0.9rem;
}

.lp-visual-card {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.05);
}

.lp-visual-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

.lp-flow-col {
    min-width: 0;
}

.lp-flow-label {
    margin: 0 0 0.45rem;
    color: var(--lp-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lp-flow-stack {
    display: grid;
    gap: 0.55rem;
}

.lp-flow-stack span {
    background: var(--lp-surface-muted);
    border: 1px solid var(--lp-border);
    border-radius: 0.85rem;
    padding: 0.7rem 0.85rem;
    color: var(--lp-text);
    font-weight: 700;
}

.lp-flow-arrow {
    color: var(--lp-accent);
}

.lp-flow-arrow svg {
    width: 2rem;
    height: 2rem;
}

.lp-before-after-table {
    width: 100%;
    border-collapse: collapse;
}

.lp-before-after-table th,
.lp-before-after-table td {
    padding: 0.9rem 0.95rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    vertical-align: top;
    line-height: 1.65;
}

.lp-before-after-table thead th {
    background: rgba(15, 23, 42, 0.04);
    color: var(--lp-text);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-before-after-table tbody td {
    color: var(--lp-text) !important;
    font-weight: 600;
}

.lp-before-after-table tbody td:last-child {
    color: var(--lp-accent-strong) !important;
    font-weight: 700;
}

.lp-logo-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.lp-logo-item {
    min-height: 5.4rem;
    border-radius: 0.9rem;
    border: 1px solid var(--lp-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.lp-logo-item img {
    max-width: 100%;
    width: auto;
    max-height: 2.9rem;
    object-fit: contain;
}

.lp-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 1rem 1rem 1.05rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.lp-feature-card h3 {
    margin: 0 0 0.55rem;
    color: var(--lp-text);
    font-size: 1rem;
    font-weight: 800;
}

.lp-feature-index {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
}

.lp-prose p {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.72;
    font-size: 0.9rem;
}

.lp-prose p + p {
    margin-top: 0.45rem;
}

.lp-video-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    background: #0f172a;
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
}

.lp-video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.lp-benefit-visual {
    border-radius: 0.8rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--lp-accent) 6%, white), #fff);
    border: 1px solid var(--lp-border);
    padding: 0.7rem;
    margin-bottom: 0.75rem;
}

.lp-benefit-visual img {
    width: 100%;
    display: block;
    border-radius: 0.6rem;
}

.lp-quote-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
}

.lp-quote-head {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.lp-quote-head img {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.lp-quote-stars {
    margin: 0;
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.lp-quote-meta {
    margin: 0.15rem 0 0;
    color: var(--lp-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.lp-quote-body {
    margin: 0;
    color: var(--lp-text);
    line-height: 1.78;
    font-size: 0.92rem;
}

.lp-story-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.lp-story-timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
}

.lp-story-timeline p {
    margin: 0;
    color: var(--lp-text);
    line-height: 1.82;
}

.lp-story-bullet {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    margin-top: 0.55rem;
    background: var(--lp-accent);
    box-shadow: 0 0 0 0.25rem var(--lp-accent-soft);
}

.lp-plan-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.lp-plan-card h3 {
    margin: 0.55rem 0 0;
    color: var(--lp-text);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 800;
}

.lp-plan-card-featured {
    border-color: color-mix(in srgb, var(--lp-accent) 45%, white);
    box-shadow: 0 18px 34px color-mix(in srgb, var(--lp-accent) 18%, transparent);
}

.lp-plan-badge {
    display: inline-flex;
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
    background: var(--lp-accent-soft);
    color: var(--lp-accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
}

.lp-plan-copy {
    margin: 0.5rem 0 0.75rem;
    color: var(--lp-muted);
    line-height: 1.65;
    font-size: 0.9rem;
}

.lp-cta-band {
    border-radius: 1.15rem;
    padding: 1.2rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--lp-accent) 72%, #0f172a) 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    display: grid;
    gap: 1rem;
    align-items: center;
}

.lp-cta-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 900;
}

.lp-cta-copy {
    margin: 0.4rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.lp-sticky-cta-spacer {
    height: 4.5rem;
}

.lp-sticky-cta {
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 9999px;
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-strong));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--lp-accent) 35%, transparent);
}

.lp-sticky-cta:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .lp-logo-cloud {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .lp-logo-item {
        min-height: 5.8rem;
    }

    .lp-logo-item img {
        max-height: 3.2rem;
    }

    .lp-cta-band {
        grid-template-columns: 1fr auto;
        gap: 1.4rem;
        padding: 1.35rem 1.4rem;
    }
}

@media (min-width: 1024px) {
    .lp-section {
        padding: 4.8rem 0;
    }

    .lp-logo-cloud {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lp-logo-item {
        min-height: 6.5rem;
    }

    .lp-logo-item img {
        max-height: 3.7rem;
    }

    .lp-hero-overlay-card {
        right: 3.5rem;
        max-width: 22rem;
    }
}

@media (max-width: 767px) {
    .lp-surface-card-grid {
        grid-template-columns: 1fr;
    }

    .lp-flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .lp-hero-ebook-card {
        top: auto;
        bottom: 5.6rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn-secondary,
    .lp-sticky-cta {
        transition: none !important;
    }
}

