/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #0F172A;
    background: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: 1.4rem;
}

/* ========== DESIGN SYSTEM ========== */
:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #34D399;
    --purple: #0D9488;
    --orange: #0284C7;
    --emerald: #10B981;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #DC2626;
    --bg-white: #ffffff;
    --bg-subtle: #F8FAFC;
    --bg-alt: #F6F8FC;
    --bg-warm: #FAFAFA;
    --text-dark: #0F172A;
    --text-medium: #475569;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --border-subtle: #F1F5F9;

    /* Unified shadow system */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.03);

    /* Unified spacing scale */
    --section-py: 60px;
    --section-pb: 60px;
    --heading-gap: 24px;
    --content-gap: 56px;

    /* Unified radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
    line-height: 1.4;
    height: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: #ECFDF5;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-subtle);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    height: 56px;
}

.btn-small,
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    height: 36px;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    height: 40px;
    padding: 8px 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(5, 150, 105, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-left {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #ECFDF5;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #059669, #0D9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.trust-badge i {
    color: var(--success);
    font-size: 0.82rem;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px #CBD5E1;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-card-dots span:nth-child(1) {
    background: #FF5F57;
}

.hero-card-dots span:nth-child(2) {
    background: #FEBC2E;
}

.hero-card-dots span:nth-child(3) {
    background: #28C840;
}

.hero-card-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #28C840;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28C840;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes embedFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(var(--float-x, 3px), var(--float-y, -3px));
    }
}

.hero-card-body {
    padding: 24px 20px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FAFBFC;
}

.hero-card-body svg,
.hero-thermometer-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px 14px;
    border-top: 1px solid var(--border-subtle);
}

.hero-card-logo {
    height: 40px;
    width: auto;
    display: block;
    opacity: 0.7;
}

/* ========== SECTIONS COMMON ========== */
.section-header {
    text-align: center;
    margin-bottom: var(--content-gap);
}

.section-header h2 {
    margin-bottom: var(--heading-gap);
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ========== CREATOR SECTION ========== */
.creator-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: var(--bg-subtle);
    position: relative;
}

.generator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-section {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-section:hover {
    border-color: #CBD5E1;
    box-shadow: var(--shadow-sm);
}

.section-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    font-family: inherit;
    transition: background 0.2s ease;
}

.section-title:hover {
    background: var(--bg-subtle);
}

.section-title span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title span i {
    font-size: 0.9rem;
}

.control-section[data-accent="cyan"] .section-title span i {
    color: var(--primary);
}

.control-section[data-accent="orange"] .section-title span i {
    color: var(--warning);
}

.control-section[data-accent="emerald"] .section-title span i {
    color: var(--emerald);
}

.control-section[data-accent="purple"] .section-title span i {
    color: var(--purple);
}

.control-section[data-accent="pink"] .section-title span i {
    color: #6366F1;
}

.section-arrow {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.section-title[aria-expanded="true"] .section-arrow {
    transform: rotate(180deg);
}

.section-content {
    overflow: hidden;
    box-sizing: border-box;
    transition: height 260ms ease, opacity 160ms ease, transform 160ms ease;
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    padding: 0 20px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.section-content.accordion-open {
    opacity: 1;
    transform: translateY(0);
}

.control-group {
    margin-bottom: 16px;
}

.control-group:last-child {
    margin-bottom: 0;
}

.control-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.control-group input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.color-picker-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.picker-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-input {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 2px;
}

.color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-input::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.hex-input {
    width: 90px;
    padding: 8px 10px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', monospace;
    text-align: center;
    transition: border-color 0.2s ease;
}

.hex-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.color-swatches {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.preset-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.preset-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.recent-colors {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.recent-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.recent-swatches {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
}

.recent-swatch {
    width: 24px;
    height: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-medium);
    font-size: 0.88rem;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}

.checkbox-label:hover {
    background: rgba(5, 150, 105, 0.04);
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.display-toggles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.export-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.export-buttons .btn {
    flex: 1;
    min-width: 90px;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    height: 44px;
}

.embed-code-box {
    margin-top: 12px;
}

.embed-code-box textarea {
    width: 100%;
    height: 70px;
    font-family: monospace;
    font-size: 0.8rem;
    border: 1.5px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    padding: 10px;
    resize: vertical;
}

.generator-preview {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    min-height: 620px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.generator-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
    z-index: 2;
}

.generator-preview.dark-bg {
    background: #1E293B;
}

.preview-canvas {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    min-height: 0;
}

.thermometer-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    max-height: 100%;
}

.thermometer-wrapper svg {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
}

.preview-branding {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px 24px;
    gap: 2px;
}

.preview-branding .branding-logo {
    width: 36%;
    max-width: 180px;
    height: auto;
    display: block;
}

.generator-preview.dark-bg .branding-logo {
    filter: brightness(0) invert(1);
}

.generator-preview.compact-mode .preview-canvas {
    padding: 36px;
}

/* ========== FEATURE EXPLORER ========== */
.features-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: #ffffff;
    position: relative;
}

.feat-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.feat-nav-inner {
    position: relative;
    display: flex;
    gap: 4px;
    background: var(--bg-subtle);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.feat-chip {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-medium);
    font-family: inherit;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.feat-chip i {
    font-size: 0.9rem;
    color: var(--primary);
}

.feat-chip:hover {
    color: var(--text-dark);
}

.feat-chip.active {
    color: var(--text-dark);
}

.feat-nav-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    z-index: 1;
    transition: left 280ms ease, width 280ms ease;
    pointer-events: none;
}

.feat-content-wrapper {
    position: relative;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    min-height: 440px;
}

.feat-panel {
    position: absolute;
    left: 48px;
    right: 48px;
    top: 48px;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.feat-panel.active {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    opacity: 1;
    pointer-events: auto;
}

.feat-panel.exiting {
    position: absolute;
    left: 48px;
    right: 48px;
    top: 48px;
    opacity: 0;
    pointer-events: none;
}

.feat-panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.feat-panel-text h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feat-panel-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feat-panel-desc em {
    color: var(--primary);
    font-style: italic;
    font-weight: 500;
}

.feat-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.feat-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.feat-points li i {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feat-points li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.feat-insight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #ECFDF5;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.feat-insight i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feat-insight span {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.feat-insight strong {
    color: var(--primary);
    font-weight: 700;
}

.feat-panel-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.feat-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #ECFDF5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feat-visual-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

/* ========== BENTO / INDUSTRIES ========== */
.bento-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: var(--bg-subtle);
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: white;
    border: 1px solid var(--border);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}

.bento-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bento-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: #ECFDF5;
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 14px;
}

.bento-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.bento-desc {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.bento-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.bento-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-medium);
}

.bento-benefits li i {
    color: var(--success);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: #ECFDF5;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: auto;
    width: fit-content;
}

.bento-cta:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.bento-cta i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.bento-cta:hover i {
    transform: translateX(3px);
}

.bento-mini-thermo {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 110px;
    height: 180px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.bento-mini-thermo svg {
    width: 100%;
    height: 100%;
}

.bento-medium {
    grid-column: 0 / 3;
}

.bento-medium .bento-desc {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.bento-mini-bar {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
}

.bento-bar-track {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-subtle);
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.bento-bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.bento-wide {
    grid-column: 1 / 3;
}

.bento-wide-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
}

.bento-stat-group {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

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

.bento-stat-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.bento-stat-lb {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bento-stats-row {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bento-stat-card {
    padding: 28px 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.bento-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.bento-stat-big {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.bento-stat-text {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.bento-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bento-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== EMBED ========== */
/* ========== EMBED SECTION ========== */
.embed-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.embed-hub {
    position: relative;
    width: 100%;
    max-width: 960px;
    min-height: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 0;
    padding: 30px;
    background: var(--bg-subtle);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.embed-hub.embed-visible {
    opacity: 1;
    transform: translateY(0);
}

.embed-hub.embed-visible .embed-node {
    opacity: 1;
    transform: scale(1);
}

.embed-hub.embed-visible .embed-node:nth-child(3) {
    transition-delay: 0.05s;
}

.embed-hub.embed-visible .embed-node:nth-child(4) {
    transition-delay: 0.10s;
}

.embed-hub.embed-visible .embed-node:nth-child(5) {
    transition-delay: 0.15s;
}

.embed-hub.embed-visible .embed-node:nth-child(6) {
    transition-delay: 0.20s;
}

.embed-hub.embed-visible .embed-node:nth-child(7) {
    transition-delay: 0.25s;
}

.embed-hub.embed-visible .embed-node:nth-child(8) {
    transition-delay: 0.30s;
}

.embed-hub.embed-visible .embed-node:nth-child(9) {
    transition-delay: 0.35s;
}

.embed-hub.embed-visible .embed-node:nth-child(10) {
    transition-delay: 0.40s;
}

.embed-hub.embed-visible .embed-node:nth-child(11) {
    transition-delay: 0.45s;
}

.embed-hub.embed-visible .embed-node:nth-child(12) {
    transition-delay: 0.50s;
}

.embed-hub.embed-visible .embed-node:nth-child(13) {
    transition-delay: 0.55s;
}

.embed-hub.embed-visible .embed-node:nth-child(14) {
    transition-delay: 0.60s;
}

.embed-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.embed-center {
    grid-column: 4 / 10;
    grid-row: 3 / 11;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embed-browser {
    width: 100%;
    max-width: 320px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.embed-browser:hover {
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.12);
}

.embed-browser-bar {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 10px;
}

.embed-browser-dots {
    display: flex;
    gap: 5px;
}

.embed-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.embed-browser-dots span:nth-child(1) {
    background: #FF5F57;
}

.embed-browser-dots span:nth-child(2) {
    background: #FEBC2E;
}

.embed-browser-dots span:nth-child(3) {
    background: #28C840;
}

.embed-browser-url {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-medium);
    background: var(--bg-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embed-browser-body {
    background: #ffffff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.embed-browser-body svg {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.embed-node {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(5, 150, 105, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-medium);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    cursor: default;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: fit-content;
    height: fit-content;
    justify-self: center;
    align-self: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.embed-node:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
    border-color: var(--primary);
    transform: scale(1.08);
    color: var(--primary);
}

.embed-node .en-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius-sm);
    background: #ECFDF5;
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.embed-node:hover .en-icon {
    background: var(--primary);
    color: white;
}

.embed-node .en-label {
    white-space: nowrap;
}

/* Node positions on the grid */
.embed-node[data-idx="0"] {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.embed-node[data-idx="1"] {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
}

.embed-node[data-idx="2"] {
    grid-column: 1 / 4;
    grid-row: 4 / 6;
}

.embed-node[data-idx="3"] {
    grid-column: 10 / 13;
    grid-row: 4 / 6;
}

.embed-node[data-idx="4"] {
    grid-column: 1 / 4;
    grid-row: 7 / 9;
}

.embed-node[data-idx="5"] {
    grid-column: 10 / 13;
    grid-row: 7 / 9;
}

.embed-node[data-idx="6"] {
    grid-column: 1 / 4;
    grid-row: 10 / 12;
}

.embed-node[data-idx="7"] {
    grid-column: 10 / 13;
    grid-row: 10 / 12;
}

.embed-node[data-idx="8"] {
    grid-column: 3 / 6;
    grid-row: 1 / 3;
}

.embed-node[data-idx="9"] {
    grid-column: 8 / 11;
    grid-row: 1 / 3;
}

.embed-node[data-idx="10"] {
    grid-column: 3 / 6;
    grid-row: 11 / 13;
}

.embed-node[data-idx="11"] {
    grid-column: 8 / 11;
    grid-row: 11 / 13;
}

/* ========== BLUEPRINT ========== */
.blueprint-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: #FAFAFA;
    position: relative;
}

.blueprint-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0;
}

.blueprint-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
    z-index: 1;
}

.blueprint-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: height 0.8s ease;
}

.blueprint-line.drawn::after {
    height: 100%;
}

.blueprint-card {
    position: relative;
    width: 100%;
    margin-bottom: 48px;
    z-index: 2;
}

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

.bp-card-inner {
    position: relative;
    width: calc(50% - 44px);
    padding: 28px 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blueprint-card.bp-left .bp-card-inner {
    margin-left: 0;
    margin-right: auto;
}

.blueprint-card.bp-right .bp-card-inner {
    margin-left: auto;
    margin-right: 0;
}

.blueprint-card .bp-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px #CBD5E1;
}

.bp-node {
    position: absolute;
    top: 32px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border);
    z-index: 3;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.blueprint-card.bp-left .bp-node {
    right: -51px;
}

.blueprint-card.bp-right .bp-node {
    left: -51px;
}

.bp-node.active {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.bp-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bp-number span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--border);
    letter-spacing: 2px;
}

.bp-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ECFDF5;
    color: var(--primary);
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.blueprint-card .bp-card-inner:hover .bp-icon-wrap {
    background: var(--primary);
    color: white;
}

.bp-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.bp-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.65;
    margin-bottom: 16px;
}

.bp-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-subtle);
    border-radius: 10px;
    margin-bottom: 14px;
}

.bp-tip i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.bp-tip span {
    font-size: 0.82rem;
    color: var(--text-medium);
    line-height: 1.5;
    font-style: italic;
}

.bp-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.bp-stat-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.bp-stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.blueprint-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.blueprint-card.bp-revealed {
    opacity: 1;
    transform: translateY(0);
}

.bp-node {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 400ms ease 200ms, transform 400ms ease 200ms, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.blueprint-card.bp-revealed .bp-node {
    opacity: 1;
    transform: scale(1);
}

/* ========== FAQ ========== */
.faq-section {
    padding: var(--section-py) 0 var(--section-pb);
    background: #ffffff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: inherit;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #F1F5F9;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question span i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    overflow: hidden;
    box-sizing: border-box;
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
    transition: max-height 300ms ease, opacity 200ms ease;
}

.faq-answer.accordion-open {
    max-height: 400px;
    opacity: 1;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, #0D9488, #059669);
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: #059669;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== FOOTER ========== */
.footer {
    background: #0F172A;
    color: var(--text-light);
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.15), transparent);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo {
    margin-bottom: 15px;
}

.footer .logo-img {
    height: 68px;
    background: white;
    padding: 6px;
    border-radius: var(--radius-sm);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

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

/* ========== FOCUS STATES ========== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}