:root {
    --ff-bg: #eef3f9;
    --ff-bg-soft: #f7fafd;
    --ff-card: rgba(255,255,255,0.92);
    --ff-card-solid: #ffffff;
    --ff-text: #0c1b2d;
    --ff-muted: #56657a;
    --ff-border: rgba(20,41,67,0.12);
    --ff-border-strong: rgba(20,41,67,0.2);
    --ff-blue: #183b68;
    --ff-blue-2: #245f9f;
    --ff-blue-3: #07182f;
    --ff-orange: #ff6a00;
    --ff-orange-2: #ff8b20;
    --ff-yellow: #ffd338;
    --ff-red: #e31e24;
    --ff-green: #13a05f;
    --ff-cyan: #20a7c8;
    --ff-violet: #7857d6;
    --ff-shadow: 0 22px 60px rgba(13,35,62,0.13);
    --ff-shadow-soft: 0 14px 34px rgba(13,35,62,0.10);
    --ff-radius-xl: 32px;
    --ff-radius-lg: 24px;
    --ff-radius-md: 16px;
    --ff-header-h: 78px;
    --color-primary: var(--ff-blue-2);
    --color-primary-light: rgba(36,95,159,0.12);
    --color-accent: var(--ff-orange);
    --color-danger: var(--ff-red);
    --color-warning: #f1c40f;
    --color-success: var(--ff-green);
    --color-bg: var(--ff-bg);
    --color-bg-card: var(--ff-card-solid);
    --color-bg-input: #ffffff;
    --color-text: var(--ff-text);
    --color-text-secondary: var(--ff-muted);
    --color-border: var(--ff-border);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: var(--ff-shadow-soft);
    --radius-md: 10px;
    --radius-lg: 16px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.dark,
html[data-theme="dark"] {
    --ff-bg: #07111f;
    --ff-bg-soft: #0d1b2c;
    --ff-card: rgba(13,27,44,0.92);
    --ff-card-solid: #0d1b2c;
    --ff-text: #f3f7fb;
    --ff-muted: #aab8c9;
    --ff-border: rgba(255,255,255,0.12);
    --ff-border-strong: rgba(255,255,255,0.2);
    --ff-blue: #224d80;
    --ff-blue-2: #4b9cff;
    --ff-blue-3: #07111f;
    --ff-shadow: 0 22px 60px rgba(0,0,0,0.34);
    --ff-shadow-soft: 0 14px 34px rgba(0,0,0,0.26);
    --color-bg-input: #111f33;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255,106,0,0.14), transparent 31vw),
        radial-gradient(circle at 90% 8%, rgba(36,95,159,0.18), transparent 30vw),
        linear-gradient(180deg, var(--ff-bg-soft), var(--ff-bg));
    color: var(--ff-text);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

ul {
    list-style: none;
}

[class^="ffweb-"],
[class*=" ffweb-"] {
    flex: 0 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--ff-header-h);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ff-border);
}

html.dark .site-header,
html[data-theme="dark"] .site-header {
    background: rgba(7,17,31,0.86);
}

.site-header-inner {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.site-logo img {
    height: 48px;
    width: auto;
    max-width: 245px;
    display: block;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 0.94rem;
    color: var(--ff-muted);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(36,95,159,0.12);
    color: var(--ff-blue-2);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle,
.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--ff-border);
    border-radius: 999px;
    background: var(--ff-card);
    color: var(--ff-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(13,35,62,0.08);
}

.theme-toggle i,
.menu-toggle i {
    width: 20px;
    height: 20px;
}

.theme-toggle .theme-sun {
    display: none;
}

html.dark .theme-toggle .theme-moon,
html[data-theme="dark"] .theme-toggle .theme-moon {
    display: none;
}

html.dark .theme-toggle .theme-sun,
html[data-theme="dark"] .theme-toggle .theme-sun {
    display: inline-block;
}

.menu-toggle {
    display: none;
}

.site-login {
    display: inline-flex;
}

.ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 19px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 950;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    text-align: center;
    line-height: 1.1;
}

.ff-btn i {
    width: 1.05em;
    height: 1.05em;
}

.ff-btn:hover {
    transform: translateY(-1px);
}

.ff-btn-primary {
    background: linear-gradient(135deg, var(--ff-orange), var(--ff-orange-2));
    color: #111827;
    box-shadow: 0 14px 28px rgba(255,106,0,0.28);
}

.ff-btn-blue {
    background: linear-gradient(135deg, var(--ff-blue-2), var(--ff-blue));
    color: #fff;
    box-shadow: 0 14px 28px rgba(36,95,159,0.24);
}

.ff-btn-ghost {
    background: var(--ff-card);
    border-color: var(--ff-border);
    color: var(--ff-text);
}

.site-main {
    width: 100%;
}

.site-content {
    min-height: calc(100vh - var(--ff-header-h));
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--ff-border);
    background: rgba(255,255,255,0.50);
}

html.dark .site-footer,
html[data-theme="dark"] .site-footer {
    background: rgba(7,17,31,0.58);
}

.site-footer-inner {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ff-muted);
    font-weight: 750;
    font-size: 0.92rem;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-footer-brand img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.site-footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer-links a:hover {
    color: var(--ff-blue-2);
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(0,0,0,0.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 960;
    width: min(390px, 90vw);
    background: var(--ff-card-solid);
    border-left: 1px solid var(--ff-border);
    box-shadow: -30px 0 80px rgba(0,0,0,0.22);
    transform: translateX(105%);
    transition: transform 220ms ease;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.nav-open .mobile-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-head img {
    height: 44px;
    width: auto;
}

.drawer-close {
    display: inline-flex;
}

.drawer-nav {
    display: grid;
    gap: 9px;
}

.drawer-nav a {
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid var(--ff-border);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 900;
    color: var(--ff-text);
    background: rgba(36,95,159,0.05);
}

.drawer-nav a.is-active {
    background: rgba(255,106,0,0.14);
    border-color: rgba(255,106,0,0.30);
}

.drawer-nav i {
    width: 16px;
    height: 16px;
}

.drawer-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.home-wrap {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 0 0;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    border-radius: 34px;
    background:
        linear-gradient(120deg, rgba(7,24,47,0.98), rgba(19,57,96,0.93)),
        radial-gradient(circle at 76% 18%, rgba(255,106,0,0.26), transparent 28%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--ff-shadow);
    color: #fff;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 21% 30%, rgba(255,106,0,0.15), transparent 22%),
        radial-gradient(circle at 82% 20%, rgba(75,156,255,0.24), transparent 32%),
        linear-gradient(180deg, rgba(7,24,47,0.06), rgba(7,24,47,0.42));
    pointer-events: none;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    padding: clamp(28px, 4vw, 58px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.home-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(28px, 4vw, 62px);
    align-items: center;
    min-height: 500px;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #cbe4ff;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.82rem;
    margin-bottom: 18px;
}

.eyebrow i {
    width: 22px;
    height: 22px;
    color: var(--ff-orange);
    filter: drop-shadow(0 0 12px rgba(255,106,0,0.45));
}

.eyebrow.light {
    color: rgba(255,255,255,0.82);
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 5.6vw, 5.9rem);
    line-height: 0.98;
    letter-spacing: -0.067em;
    color: #fff;
    font-weight: 950;
}

.home-hero h1 span {
    display: block;
    color: var(--ff-orange);
}

.hero-lead {
    margin: 24px 0 0 0;
    color: rgba(255,255,255,0.78);
    font-size: clamp(1.03rem, 1.55vw, 1.24rem);
    line-height: 1.62;
    max-width: 720px;
    font-weight: 620;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    background: rgba(255,255,255,0.075);
    font-weight: 850;
    color: rgba(255,255,255,0.90);
    font-size: 0.85rem;
    line-height: 1.25;
}

.hero-trust i {
    width: 22px;
    height: 22px;
    color: var(--ff-orange);
}

.hero-media {
    position: relative;
    min-height: 430px;
}

.screen-stage {
    position: relative;
    height: min(43vw, 500px);
    min-height: 400px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.17);
    box-shadow: 0 28px 80px rgba(0,0,0,0.34);
    overflow: hidden;
    padding: clamp(16px, 2.3vw, 28px);
}

.screen-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    overflow: hidden;
}

.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.screen-glow {
    position: absolute;
    inset: auto -20% -25% 20%;
    height: 42%;
    background: radial-gradient(circle, rgba(255,106,0,0.34), transparent 64%);
    pointer-events: none;
}

.floating-card {
    position: absolute;
    left: -20px;
    bottom: 25px;
    width: min(285px, 72%);
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(7,24,47,0.88);
    backdrop-filter: blur(14px);
    border-radius: 21px;
    padding: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.floating-card strong {
    display: block;
    font-size: 3rem;
    color: var(--ff-orange);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 8px;
    font-weight: 950;
}

.floating-card span {
    display: block;
    color: rgba(255,255,255,0.82);
    font-weight: 780;
    line-height: 1.36;
    font-size: 0.98rem;
}

.hero-slider-nav {
    position: absolute;
    left: clamp(22px, 4vw, 58px);
    right: clamp(22px, 4vw, 58px);
    bottom: 24px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-tab {
    min-height: 58px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.74);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    cursor: pointer;
    text-align: left;
    font-weight: 800;
    line-height: 1.25;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero-tab i {
    width: 24px;
    height: 24px;
    color: var(--ff-orange);
}

.hero-tab.is-active {
    background: rgba(255,255,255,0.17);
    border-color: rgba(255,106,0,0.46);
    color: #fff;
}

.section-block {
    margin-top: 76px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-head-centered {
    display: block;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.section-head h2 span {
    color: var(--ff-orange);
}

.section-head p {
    margin: 0;
    max-width: 540px;
    color: var(--ff-muted);
    line-height: 1.62;
    font-weight: 660;
}

.section-head-centered p {
    margin: 14px auto 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.feature-card {
    grid-column: span 2;
    position: relative;
    min-height: 245px;
    overflow: hidden;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    box-shadow: var(--ff-shadow-soft);
    border-radius: 24px;
    padding: 22px;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.44), rgba(255,255,255,0));
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--tone);
}

.feature-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--tone) 14%, white);
    color: var(--tone);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 24%, transparent);
}

.feature-icon i {
    width: 27px;
    height: 27px;
}

.feature-card .tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 18px;
    color: var(--tone);
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.feature-card h3,
.module-card h3,
.process-card h3 {
    position: relative;
    z-index: 1;
    margin: 9px 0 0 0;
    font-size: 1.24rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 950;
}

.feature-card p,
.process-card p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0 0;
    color: var(--ff-muted);
    line-height: 1.58;
    font-weight: 650;
}

.feature-line {
    position: absolute;
    left: 22px;
    bottom: 22px;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--tone);
}

.tone-blue { --tone: var(--ff-blue-2); }
.tone-green { --tone: var(--ff-green); }
.tone-orange { --tone: var(--ff-orange); }
.tone-violet { --tone: var(--ff-violet); }
.tone-red { --tone: var(--ff-red); }
.tone-cyan { --tone: var(--ff-cyan); }

.wide-showcase {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 24px;
    align-items: center;
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7,24,47,0.98), rgba(24,59,104,0.92)),
        radial-gradient(circle at top right, rgba(255,106,0,0.30), transparent 40%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--ff-shadow);
    padding: clamp(24px, 4vw, 48px);
}

.wide-showcase h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1;
    font-weight: 950;
}

.wide-showcase p {
    margin: 19px 0 0 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    font-weight: 620;
}

.wide-points {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.wide-points div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    font-weight: 750;
    color: rgba(255,255,255,0.88);
}

.wide-points i {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    color: var(--ff-orange);
}

.device-stack {
    min-height: 420px;
    border-radius: 26px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 25px 70px rgba(0,0,0,0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
}

.device-stack img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: contain;
    border-radius: 18px;
}

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

.module-card,
.process-card,
.cta-panel {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    box-shadow: var(--ff-shadow-soft);
    border-radius: 24px;
}

.module-card {
    padding: 22px;
}

.module-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-head i {
    width: 34px;
    height: 34px;
    color: var(--ff-orange);
}

.module-head h3 {
    margin: 0;
}

.module-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.module-list span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(36,95,159,0.10);
    color: var(--ff-text);
    font-weight: 780;
    font-size: 0.86rem;
}

html.dark .module-list span,
html[data-theme="dark"] .module-list span {
    background: rgba(255,255,255,0.08);
}

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

.process-card {
    padding: 24px;
}

.process-number {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ff-orange), var(--ff-yellow));
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 1.35rem;
    box-shadow: 0 14px 28px rgba(255,106,0,0.25);
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 4vw, 44px);
    background:
        radial-gradient(circle at 0% 0%, rgba(255,106,0,0.15), transparent 30%),
        var(--ff-card);
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3.7vw, 3.4rem);
    letter-spacing: -0.055em;
    line-height: 1;
    font-weight: 950;
}

.cta-panel p {
    margin: 14px 0 0 0;
    max-width: 680px;
    color: var(--ff-muted);
    line-height: 1.6;
    font-weight: 650;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    gap: 8px;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #475569;
}

.btn-success {
    background-color: var(--color-success);
    color: white;
}

.btn-danger {
    background-color: var(--color-danger);
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"] {
    background-color: var(--color-bg-input);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.72rem 1rem;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    min-height: 44px;
}

textarea.form-control,
textarea {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.content-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-left: 5px solid transparent;
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--ff-shadow-soft);
    color: var(--color-text);
}

.content-card.card-blue { border-left-color: #3498db; }
.content-card.card-red { border-left-color: #e74c3c; }
.content-card.card-green { border-left-color: #2ecc71; }
.content-card.card-orange { border-left-color: #f39c12; }
.content-card.card-grey { border-left-color: #95a5a6; }
.content-card.card-mint { border-left-color: #68d391; }

.card-title {
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.card-text,
.card-date,
.card-subtitle {
    color: var(--color-text-secondary);
}

.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.bg-secondary { background-color: #6c757d; color: white; }
.bg-danger { background-color: var(--color-danger); color: white; }
.text-success { color: var(--color-success) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-muted { color: var(--color-text-secondary) !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-2 { gap: 0.5rem !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.w-100 { width: 100% !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-2 { margin-top: 0.5rem !important; }

@media (max-width: 1120px) {
    .site-nav a {
        padding: 0 11px;
        font-size: 0.9rem;
    }

    .home-hero {
        min-height: 720px;
    }

    .home-hero-grid,
    .wide-showcase,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 0;
    }

    .screen-stage {
        height: 500px;
        min-height: 360px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .feature-card {
        grid-column: span 3;
    }

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

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    :root {
        --ff-header-h: 68px;
    }

    .site-header-inner {
        width: min(100% - 22px, 1260px);
    }

    .site-logo img {
        height: 42px;
        max-width: 220px;
    }

    .site-nav,
    .site-login {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        width: min(100% - 28px, 1260px);
    }

    .site-footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .home-wrap {
        width: min(100% - 22px, 1260px);
        padding-top: 18px;
    }

    .home-hero {
        min-height: 865px;
        border-radius: 24px;
    }

    .home-hero-slide {
        padding: 22px;
    }

    .home-hero-grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
        gap: 24px;
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 13vw, 4.1rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions .ff-btn {
        width: 100%;
    }

    .screen-stage {
        height: 318px;
        min-height: 318px;
        border-radius: 22px;
        padding: 12px;
    }

    .screen-frame {
        border-radius: 17px;
    }

    .floating-card {
        left: 14px;
        right: 14px;
        width: auto;
        bottom: 14px;
        padding: 14px;
    }

    .floating-card strong {
        font-size: 2.25rem;
    }

    .hero-slider-nav {
        left: 16px;
        right: 16px;
        bottom: 16px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-tab {
        min-height: 46px;
        border-radius: 14px;
        font-size: 0.82rem;
    }

    .section-block {
        margin-top: 50px;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 12px;
    }

    .feature-grid,
    .module-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        grid-column: auto;
        min-height: 220px;
    }

    .wide-showcase,
    .cta-panel {
        border-radius: 24px;
    }

    .device-stack {
        min-height: 300px;
    }

    .cta-actions .ff-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .site-logo img {
        height: 36px;
        max-width: 178px;
    }

    .theme-toggle,
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .site-actions {
        gap: 7px;
    }

    .mobile-drawer {
        width: min(360px, 92vw);
    }

    .home-hero {
        min-height: 905px;
    }

    .hero-trust span {
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .ff-btn:hover {
        transform: none;
    }
}


/* ==========================================================================
   FFWEB WEBSITE HERO FIX 2026
   ========================================================================== */
.home-wrap {
    width: min(1440px, calc(100% - 40px));
    padding-top: 28px;
}

.home-hero {
    min-height: 560px;
    border-radius: 0 0 34px 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255,106,0,0.18), transparent 28%),
        radial-gradient(circle at 10% 82%, rgba(75,156,255,0.16), transparent 32%),
        linear-gradient(118deg, #07182f 0%, #102b4b 51%, #214f82 100%);
    box-shadow: 0 26px 70px rgba(7,24,47,0.22);
}

.home-hero-slide {
    padding: clamp(30px, 4vw, 64px) clamp(28px, 5vw, 72px) 76px;
}

.home-hero-grid {
    grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
    gap: clamp(28px, 4.5vw, 72px);
    min-height: 470px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    margin-bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
}

.home-hero h1 {
    max-width: 680px;
    font-size: clamp(3rem, 4.45vw, 5.05rem);
    line-height: 0.95;
    letter-spacing: -0.062em;
}

.home-hero h1 span {
    color: var(--ff-orange);
    display: inline;
}

.hero-lead {
    max-width: 650px;
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.16vw, 1.22rem);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 28px;
}

.hero-trust {
    margin-top: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-trust span {
    min-height: 50px;
    padding: 9px 11px;
    font-size: 0.81rem;
}

.hero-media {
    min-height: 390px;
}

.screen-stage {
    height: clamp(360px, 31vw, 455px);
    min-height: 360px;
    border-radius: 32px;
    padding: clamp(16px, 2vw, 24px);
    transform: translateY(6px);
}

.screen-frame {
    border-radius: 22px;
}

.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.floating-card {
    left: -10px;
    bottom: 12px;
    width: min(255px, 58%);
    padding: 16px;
    border-radius: 20px;
}

.floating-card strong {
    font-size: 2.55rem;
}

.floating-card span {
    font-size: 0.92rem;
}

.hero-slider-nav {
    left: 50%;
    right: auto;
    bottom: 25px;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.hero-tab {
    width: 42px;
    min-width: 42px;
    height: 9px;
    min-height: 9px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.28);
    box-shadow: none;
    overflow: hidden;
}

.hero-tab span {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-tab i {
    display: none;
}

.hero-tab.is-active {
    width: 64px;
    background: linear-gradient(90deg, var(--ff-orange), var(--ff-orange-2));
}

.feature-card {
    min-height: 232px;
    padding: 24px;
    border-radius: 25px;
}

.feature-card::before {
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.42), rgba(255,255,255,0));
}

.feature-card::after {
    left: 24px;
    right: auto;
    top: auto;
    bottom: 22px;
    width: 50px;
    height: 4px;
    border-radius: 999px;
}

.feature-line {
    display: none;
}

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

@media (max-width: 1120px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-slide {
        position: relative;
        display: none;
        inset: auto;
    }

    .home-hero-slide.is-active {
        display: block;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy {
        max-width: 850px;
    }

    .home-hero h1 {
        max-width: 850px;
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .hero-media {
        min-height: 0;
    }

    .screen-stage {
        height: min(58vw, 480px);
        min-height: 340px;
    }

    .hero-slider-nav {
        position: absolute;
    }
}

@media (max-width: 760px) {
    .home-wrap {
        width: min(100% - 22px, 1440px);
        padding-top: 16px;
    }

    .home-hero {
        min-height: auto;
        border-radius: 25px;
    }

    .home-hero-slide {
        padding: 24px 20px 58px;
    }

    .home-hero-grid {
        gap: 22px;
    }

    .eyebrow {
        font-size: 0.72rem;
        line-height: 1.25;
        margin-bottom: 13px;
    }

    .eyebrow i {
        width: 19px;
        height: 19px;
    }

    .home-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4.2rem);
        line-height: 0.97;
    }

    .home-hero h1 span {
        display: block;
    }

    .hero-lead {
        margin-top: 18px;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    .hero-trust span {
        min-height: 44px;
    }

    .screen-stage {
        height: 300px;
        min-height: 300px;
        border-radius: 22px;
        padding: 11px;
    }

    .screen-frame img {
        padding: 6px;
    }

    .floating-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    .floating-card strong {
        font-size: 2.2rem;
    }

    .hero-slider-nav {
        bottom: 18px;
        gap: 7px;
    }

    .hero-tab {
        width: 31px;
        min-width: 31px;
        height: 8px;
        min-height: 8px;
    }

    .hero-tab.is-active {
        width: 48px;
    }
}

@media (max-width: 520px) {
    .home-hero h1 {
        font-size: clamp(2.4rem, 12.8vw, 3.8rem);
    }

    .screen-stage {
        height: 260px;
        min-height: 260px;
    }

    .screen-frame {
        align-items: center;
    }

    .site-logo img {
        height: 39px;
        max-width: 190px;
    }
}

/* ========================================================================== 
   FFWEB HOMEPAGE FINAL HERO FIX
   ========================================================================== */
.home-wrap {
    width: min(1340px, calc(100% - 40px));
    padding-top: 28px;
}

.home-hero {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
    border-radius: 34px;
}

.home-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    padding: 48px 58px 72px !important;
    display: block !important;
}

.home-hero-slide.is-active {
    position: relative !important;
    inset: auto !important;
}

.home-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr) !important;
    gap: clamp(28px, 4vw, 62px) !important;
    min-height: 0 !important;
    align-items: center !important;
}

.hero-copy {
    max-width: 610px !important;
    align-self: center;
}

.eyebrow {
    margin-bottom: 14px !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
}

.home-hero h1 {
    max-width: 610px !important;
    font-size: clamp(2.75rem, 3.45vw, 4.15rem) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.055em !important;
}

.home-hero h1 span {
    display: inline !important;
}

.hero-lead {
    max-width: 570px !important;
    margin-top: 18px !important;
    font-size: clamp(0.98rem, 1.05vw, 1.1rem) !important;
    line-height: 1.46 !important;
}

.hero-actions {
    margin-top: 22px !important;
    gap: 10px !important;
}

.hero-actions .ff-btn {
    min-height: 46px !important;
    padding: 0 20px !important;
    font-size: 0.93rem !important;
}

.hero-trust {
    margin-top: 20px !important;
    gap: 9px !important;
}

.hero-trust span {
    min-height: 44px !important;
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
    line-height: 1.18 !important;
    border-radius: 14px !important;
}

.hero-trust i {
    width: 18px !important;
    height: 18px !important;
}

.hero-media {
    min-height: 0 !important;
    align-self: center;
}

.screen-stage {
    height: clamp(310px, 28vw, 410px) !important;
    min-height: 310px !important;
    border-radius: 28px !important;
    padding: 18px !important;
    transform: none !important;
}

.screen-frame {
    border-radius: 20px !important;
}

.screen-frame img {
    padding: 8px !important;
    object-fit: contain !important;
}

.floating-card {
    left: -2px !important;
    bottom: 12px !important;
    width: min(235px, 54%) !important;
    padding: 13px 15px !important;
    border-radius: 18px !important;
}

.floating-card strong {
    font-size: 2.15rem !important;
    margin-bottom: 5px !important;
}

.floating-card span {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
}

.hero-slider-nav {
    bottom: 24px !important;
}

.section-block.intro-features {
    margin-top: 46px !important;
}

.section-head h2 {
    font-size: clamp(2rem, 3.2vw, 3.55rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
}

@media (max-width: 1120px) {
    .home-wrap {
        width: min(100% - 30px, 1340px);
        padding-top: 22px;
    }

    .home-hero-slide {
        position: relative !important;
        inset: auto !important;
        display: none !important;
        padding: 34px 30px 64px !important;
    }

    .home-hero-slide.is-active {
        display: block !important;
    }

    .home-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .hero-copy {
        max-width: 760px !important;
    }

    .home-hero h1 {
        max-width: 760px !important;
        font-size: clamp(2.45rem, 7vw, 4.15rem) !important;
    }

    .hero-lead {
        max-width: 760px !important;
    }

    .screen-stage {
        height: min(52vw, 410px) !important;
        min-height: 300px !important;
    }
}

@media (max-width: 760px) {
    .home-wrap {
        width: min(100% - 22px, 1340px);
        padding-top: 14px;
    }

    .home-hero {
        border-radius: 24px !important;
    }

    .home-hero-slide {
        padding: 24px 18px 54px !important;
    }

    .eyebrow {
        font-size: 0.68rem !important;
        margin-bottom: 12px !important;
    }

    .home-hero h1 {
        font-size: clamp(2.15rem, 10.8vw, 3.35rem) !important;
        line-height: 1.02 !important;
    }

    .home-hero h1 span {
        display: block !important;
    }

    .hero-lead {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
        margin-top: 15px !important;
    }

    .hero-actions .ff-btn {
        width: 100% !important;
    }

    .hero-trust {
        grid-template-columns: 1fr !important;
    }

    .screen-stage {
        height: 250px !important;
        min-height: 250px !important;
        padding: 10px !important;
    }

    .floating-card {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        bottom: 10px !important;
    }
}

/* ========================================================================== 
   FFWEB HOMEPAGE FINAL POLISH FIX
   ========================================================================== */
.hero-media {
    position: relative !important;
    z-index: 2 !important;
}

.screen-stage {
    position: relative !important;
    z-index: 1 !important;
}

.screen-frame {
    position: relative !important;
    z-index: 2 !important;
    overflow: hidden !important;
}

.screen-glow {
    z-index: 0 !important;
}

.floating-card {
    z-index: 8 !important;
    left: 16px !important;
    bottom: 16px !important;
    width: min(220px, 48%) !important;
    padding: 12px 14px !important;
    background: linear-gradient(145deg, rgba(7, 24, 47, 0.96), rgba(13, 51, 88, 0.94)) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

.floating-card strong {
    font-size: 1.9rem !important;
    line-height: 0.92 !important;
    margin-bottom: 4px !important;
}

.floating-card span {
    font-size: 0.76rem !important;
    line-height: 1.24 !important;
}

.section-block.intro-features {
    margin-top: 42px !important;
}

.section-head h2 {
    font-size: clamp(1.75rem, 2.55vw, 3.05rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
}

.section-head p {
    max-width: 760px !important;
    font-size: clamp(0.98rem, 1.15vw, 1.14rem) !important;
    line-height: 1.55 !important;
}

.feature-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98)) !important;
}

.feature-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), transparent 42%) !important;
    opacity: 0.55 !important;
    pointer-events: none !important;
}

@media (max-width: 1120px) {
    .floating-card {
        left: 18px !important;
        bottom: 18px !important;
        width: min(240px, 52%) !important;
    }

    .section-head h2 {
        font-size: clamp(1.9rem, 5.4vw, 3.2rem) !important;
    }
}

@media (max-width: 760px) {
    .floating-card {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .floating-card strong {
        margin: 0 !important;
        font-size: 1.55rem !important;
    }

    .floating-card span {
        font-size: 0.72rem !important;
    }

    .section-head h2 {
        font-size: clamp(1.75rem, 8vw, 2.7rem) !important;
    }
}
.review-section {
    position: relative;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.review-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 74, 111, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(15, 35, 60, 0.08);
}

.review-card::after {
    content: '';
    position: absolute;
    right: -42px;
    top: -42px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.11);
}

.review-stars {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3px;
    color: #ffb000;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.review-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #071d36;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.review-card p {
    position: relative;
    z-index: 2;
    margin: 13px 0 0;
    color: #556076;
    font-weight: 650;
    line-height: 1.58;
}

.review-person {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(42, 74, 111, 0.12);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.12);
    color: #ff6b00;
    font-size: 1.2rem;
}

.review-person strong {
    display: block;
    color: #071d36;
    font-weight: 950;
}

.review-person span {
    display: block;
    color: #657187;
    font-size: 0.9rem;
    font-weight: 750;
    margin-top: 2px;
}

html.dark .review-card {
    background: linear-gradient(145deg, #2d384e, #334967);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark .review-card h3,
html.dark .review-person strong {
    color: #fff;
}

html.dark .review-card p,
html.dark .review-person span {
    color: rgba(255, 255, 255, 0.78);
}

html.dark .review-person {
    border-top-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
    .review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}