/*
Theme Name: AirSync
Theme URI: https://air-sync.com
Author: AirSync
Author URI: https://air-sync.com
Description: Official AirSync marketing theme. Includes the Integrations directory with editable partners managed from the WordPress admin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airsync
*/

/* ── Self-hosted Work Sans (matches dylan-draft.com reference exactly) ──
   Variable font files cover the full 100–900 weight range, so the menu
   renders identically even when Google Fonts is slow or blocked. */
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/worksans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/fonts/worksans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --red: #EB262A;
    --blue: #307FE2;
    --dark: #231F20;
}

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

html {
    scroll-behavior: smooth;
    /* Offset in-page anchor jumps (e.g. #features, #aircraft-search) so the
       target section is not hidden underneath the fixed header. */
    scroll-padding-top: 110px;
}

body {
    font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f0f4ff;
    color: #231F20;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* ── NAV ── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 96px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, padding 0.35s ease;
}

/* Expand / contract on scroll */
#nav.scrolled {
    height: 62px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

#nav .nav-logo, #nav .custom-logo {
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav.scrolled .nav-logo, #nav.scrolled .custom-logo {
    height: 50px !important;
}

#nav.scrolled .nav-link, #nav.scrolled .nav-dropdown-btn {
    font-size: 16px;
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo, .custom-logo {
    height: 90px;
    width: auto;
    display: block;
}

.nav-brand-text {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #231F20;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.nav-links > li {
    position: relative;
}

.nav-link, .nav-links > li > a {
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after, .nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #307FE2;
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover, .nav-links > li > a:hover {
    color: #000;
}

.nav-link:hover::after, .nav-links > li > a:hover::after {
    width: 100%;
}

.nav-link.active, .nav-links > li.current-menu-item > a,
.nav-links > li.current_page_item > a {
    color: #307FE2;
}

.nav-link.active::after,
.nav-links > li.current-menu-item > a::after,
.nav-links > li.current_page_item > a::after {
    width: 100%;
}

/* Dropdowns (Learn More / Solutions) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-dropdown-btn::after {
    display: none;
}

.nav-dropdown-btn svg {
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-btn svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 14px;
    z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-panel {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #231F20 !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.nav-dropdown-item::after {
    display: none;
}

.nav-dropdown-item:hover {
    background: #f5f7ff;
    color: #307FE2 !important;
}

/* Social Media flyout */
.nav-flyout-item {
    position: relative;
}

.nav-flyout-panel {
    display: none;
    position: absolute;
    left: 100%;
    top: -8px;
    /* Transparent padding forms a continuous hover "bridge" between the
       trigger and the card so the cursor can travel onto the links without
       the flyout closing. */
    padding: 8px 0 8px 10px;
    z-index: 210;
}

/* Keep the flyout open while hovering the trigger OR the panel, and while
   a link inside has keyboard focus (accessibility). */
.nav-flyout-item:hover .nav-flyout-panel,
.nav-flyout-item:focus-within .nav-flyout-panel {
    display: block;
}

/* Auto-flip: when JS detects the panel would overflow the right edge of the
   viewport (and get clipped by body{overflow-x:hidden}), open it to the left
   so the links are always on-screen and clickable. */
.nav-flyout-item.flip-left .nav-flyout-panel {
    left: auto;
    right: 100%;
    padding: 8px 10px 8px 0;
}

.nav-flyout-item:hover > .nav-flyout-trigger,
.nav-flyout-item:focus-within > .nav-flyout-trigger {
    background: #f5f7ff;
    color: #307FE2 !important;
}

.nav-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #231F20 !important;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-social-link::after {
    display: none;
}

.nav-social-link:hover {
    background: #f5f7ff;
    color: #307FE2 !important;
}

.nav-social-link svg {
    flex-shrink: 0;
}

/* Guard: keep submenu text sizing consistent regardless of any broader
   `.nav-links a` style. Higher specificity (two classes) so plain <a>
   items and the flyout <div> trigger always render at the same size. */
.nav-dropdown-menu .nav-dropdown-item {
    font-size: 14px;
    letter-spacing: normal;
}

.nav-dropdown-menu .nav-social-link {
    font-size: 13px;
    letter-spacing: normal;
}

.btn-red, .nav-links li.menu-cta-red > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EB262A !important;
    color: #fff !important;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(235, 38, 42, 0.35);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-red:hover, .nav-links li.menu-cta-red > a:hover {
    background: #d41f23 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(235, 38, 42, 0.45);
}

.nav-links li.menu-cta-red > a::after, .nav-btn-red::after {
    display: none;
}

.btn-ghost, .nav-links li.menu-cta-ghost > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover, .nav-links li.menu-cta-ghost > a:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.6);
    color: #000;
}

.nav-links li.menu-cta-ghost > a::after, .nav-btn-ghost::after {
    display: none;
}

/* WP-generated submenus */
.nav-links .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    min-width: 200px;
    list-style: none;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 200;
}

.nav-links li:hover > .sub-menu {
    display: block;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links .sub-menu a:hover {
    background: #f0f4ff;
    color: #307FE2;
}

.nav-links .sub-menu a::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #231F20;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
#mobile-menu {
    display: none;
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 98;
    padding: 8px 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: calc(100vh - 96px);
}

#mobile-menu.open {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #231F20;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.15s ease;
}

.mobile-nav-link:hover {
    background: #f5f7ff;
}

.mobile-nav-section {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    padding: 16px 24px 6px;
    margin: 0;
}

.mobile-nav-social {
    display: flex;
    gap: 18px;
    padding: 8px 24px 4px;
}

.mobile-nav-social a {
    color: rgba(0, 0, 0, 0.55);
    display: inline-flex;
    transition: color 0.2s ease;
}

.mobile-nav-social a:hover {
    color: #307FE2;
}

.mobile-nav-ctas {
    display: flex;
    gap: 12px;
    padding: 20px 24px 4px;
}

.mobile-nav-ctas a {
    flex: 1;
    text-align: center;
    padding: 13px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.mobile-cta-ghost {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: #231F20;
}

.mobile-cta-red {
    background: #EB262A;
    color: #fff;
}


/* ── HERO ── */
.page-hero {
    padding-top: 96px;
    background: linear-gradient(145deg, #0a0e1e 0%, #0f1a30 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 20% 60%, rgba(48, 127, 226, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(147, 197, 253, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(235, 38, 42, 0.05) 0%, transparent 40%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 48px 64px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-h1 span {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 45%, #307FE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 560px;
    margin: 0 auto 48px;
}

.hero-stat-row {
    display: flex;
    gap: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.04);
    max-width: 420px;
    margin: 0 auto;
}

.hero-stat {
    flex: 1;
    padding: 20px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-val {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    display: block;
}

.hero-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    display: block;
}

/* ── FILTER TABS ── */
.filter-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 96px;
    z-index: 50;
}

.filter-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 16px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #307FE2;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-btn:hover {
    color: #231F20;
}

.filter-btn.active {
    color: #307FE2;
}

.filter-btn.active::after {
    transform: scaleX(1);
}

/* ── GRID ── */
.integrations-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 48px 80px;
}

.category-block {
    margin-bottom: 56px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #307FE2;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(48, 127, 226, 0.15);
}

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

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CARD ── */
.int-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(24px);
}

.int-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.int-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 48px rgba(48, 127, 226, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.logo-box {
    width: 120px;
    height: 56px;
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-size: 17px;
    font-weight: 800;
    color: #231F20;
    letter-spacing: -0.02em;
}

.cat-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.badge-logbook {
    background: #eff6ff;
    color: #1d4ed8;
}

.badge-analysis {
    background: #f0fdf4;
    color: #15803d;
}

.badge-maint {
    background: #fff7ed;
    color: #c2410c;
}

.badge-scheduling {
    background: #faf5ff;
    color: #7c3aed;
}

.badge-tax {
    background: #fefce8;
    color: #854d0e;
}

.badge-insurance {
    background: #fff1f2;
    color: #be123c;
}

.badge-safety {
    background: #f0f9ff;
    color: #0369a1;
}

.badge-management {
    background: #f0fdf4;
    color: #166534;
}

.badge-default {
    background: #f3f4f6;
    color: #374151;
}

.card-name {
    font-size: 18px;
    font-weight: 800;
    color: #231F20;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    flex: 1;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #307FE2;
    text-decoration: none;
    transition: gap 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.card-link:hover {
    color: #1f6dd4;
    gap: 10px;
}

.card-link.disabled {
    color: #9ca3af;
    pointer-events: none;
}

.card-link svg {
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* ── CTA ── */
.cta-section {
    background: linear-gradient(145deg, #0a0e1e 0%, #0f1a30 100%);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 50%, rgba(48, 127, 226, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(235, 38, 42, 0.07) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 14px;
}

.cta-h2 span {
    background: linear-gradient(135deg, #93c5fd 0%, #307FE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-red {
    display: inline-block;
    background: #EB262A;
    color: #fff;
    padding: 15px 34px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(235, 38, 42, 0.40);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cta-red:hover {
    background: #d41f23;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(235, 38, 42, 0.5);
}

.btn-cta-ghost {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 34px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-cta-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    transform: translateY(-2px);
}

/* ── FOOTER ── */
.site-footer {
    background: #000;
    padding: 72px 48px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
    margin: 0 0 20px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link, .footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover, .footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 0 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: rgba(255, 255, 255, 1);
}

/* ── DEFAULT PAGE/POST ── */
.default-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 144px 24px 80px;
}

.default-content h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

.default-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.default-content p, .default-content li {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
}

.default-content a {
    color: #307FE2;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    #nav {
        padding: 0 20px;
    }

    #nav.scrolled {
        padding: 0 20px;
    }

    .hero-inner {
        padding: 56px 24px 48px;
    }

    .filter-inner {
        padding: 0 20px;
    }

    .integrations-wrap {
        padding: 40px 20px 60px;
    }

    .cta-section {
        padding: 60px 24px;
    }

    .site-footer {
        padding: 48px 20px 28px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

