/* ============================================
   platforms.finance — Corporate trading platform style
   Shared stylesheet for all pages
   ============================================ */

/* ============ TOP EXPO BANNER (Forex Expo Dubai) ============ */
.expo-banner {
    width: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.18), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(46, 196, 182, 0.15), transparent 60%),
        #060E14;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    z-index: 101;
}
.expo-banner-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}
.expo-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    color: #fff;
    position: relative;
}
.expo-logo .forex {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
}
.expo-logo .forex .xmark {
    position: absolute;
    right: -18%;
    top: -30%;
    font-size: 1.3em;
    color: #2EC4B6;
    font-weight: 900;
    transform: rotate(12deg);
}
.expo-logo .expo {
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: -2px;
}
.expo-logo .dubai-tag {
    margin-top: 8px;
    padding: 3px 18px;
    background: #fff;
    color: #060E14;
    font-weight: 800;
    letter-spacing: 0.28em;
    font-size: 0.7rem;
}
.expo-date-col {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #fff;
}
.expo-date-col .sep {
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, rgba(46, 196, 182, 0.6), transparent);
}
.expo-dates {
    text-align: right;
    line-height: 1;
}
.expo-dates .d-day {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}
.expo-dates .d-month {
    margin-top: 8px;
    font-size: clamp(0.9rem, 1.6vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
}
.expo-cta {
    line-height: 1;
    text-align: left;
}
.expo-cta .meet {
    font-size: clamp(0.9rem, 1.8vw, 1.35rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.82);
}
.expo-cta .place {
    margin-top: 6px;
    font-size: clamp(1.8rem, 4.2vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
}
.expo-cta .place .punto { color: #2EC4B6; }

@media (max-width: 768px) {
    .expo-banner-inner { gap: 24px; padding: 20px 16px; }
    .expo-date-col .sep { height: 48px; }
}
@media (max-width: 520px) {
    .expo-banner-inner { gap: 16px; text-align:center; }
    .expo-date-col { flex-direction: column; gap: 12px; }
    .expo-date-col .sep { display:none; }
    .expo-dates { text-align:center; }
    .expo-cta { text-align:center; }
}

:root {
    --navy: #0B2545;
    --navy-dark: #081B33;
    --navy-500: #13315C;
    --blue: #1F6FEB;
    --blue-600: #1A5AC4;
    --cyan: #00B4D8;
    --accent: #2EC4B6;
    --orange: #F77F00;
    --text: #1A1A2E;
    --text-600: #3A3A52;
    --text-500: #5A5A7A;
    --text-400: #7C7C99;
    --text-muted: #9797B0;
    --bg: #FFFFFF;
    --bg-50: #F7F9FC;
    --bg-100: #EEF2F8;
    --bg-200: #E2E8F2;
    --border: #E5EAF2;
    --border-strong: #CBD5E5;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.04), 0 1px 3px rgba(11, 37, 69, 0.06);
    --shadow: 0 4px 6px -1px rgba(11, 37, 69, 0.08), 0 2px 4px -2px rgba(11, 37, 69, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(11, 37, 69, 0.08), 0 4px 6px -4px rgba(11, 37, 69, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(11, 37, 69, 0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 80px;
    --expo-h: 112px;
    --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(31, 111, 235, 0.3);
}
.btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 111, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(31, 111, 235, 0.05);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}
.btn-navy:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.35);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--blue);
}

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

/* ============ HEADER ============ */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    margin-top: var(--expo-h);
    z-index: 9999 !important;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(11, 37, 69, 0.06);
    transition: transform .2s ease, margin-top .2s ease;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}
.brand-mark i { color: var(--white); font-size: 18px; }

.brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 16px;
}

.site-nav > a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-600);
    transition: all 0.2s var(--ease);
    position: relative;
}
.site-nav > a:hover { color: var(--navy); background: var(--bg-100); }
.site-nav > a.active { color: var(--blue); font-weight: 600; }

.has-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.has-dropdown i { font-size: 0.7rem; opacity: 0.7; }

.header-cta { flex-shrink: 0; }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--navy);
}

/* ============ HERO ============ */
.hero {
    padding: calc(var(--header-h) + 16px) 0 80px;
    background:
        radial-gradient(ellipse 80% 60% at 85% -10%, rgba(31, 111, 235, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 50% at -10% 30%, rgba(0, 180, 216, 0.1), transparent 60%),
        var(--bg-50);
    overflow: hidden;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 10px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 24px;
}
.hero-label .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.18);
}

.hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 22px;
    color: var(--navy);
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: 1.1rem;
    color: var(--text-500);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.hero-meta .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-500);
}
.hero-meta .meta i { color: var(--blue); font-size: 1rem; }
.hero-meta .meta strong { color: var(--navy); font-weight: 700; }

.hero-visual {
    position: relative;
}
.hero-visual-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
    background: var(--white);
}
.hero-visual-wrap img { width: 100%; height: 100%; object-fit: cover; }

.floating {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 14px 18px;
    animation: floatY 6s ease-in-out infinite;
}
.floating.tl { top: -20px; left: -20px; animation-delay: -2s; }
.floating.br { bottom: 30px; right: -25px; animation-delay: -4s; }

.floating .f-title {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}
.floating .f-value {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating .f-value .up { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.floating .f-value .blue { color: var(--blue); }

/* ============ EXPOS / STRIP ============ */
.expos-strip {
    background: var(--navy);
    color: var(--white);
    padding: 20px 0;
    overflow: hidden;
}
.expos-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.expos-inner::-webkit-scrollbar { display: none; }
.expos-label {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    flex-shrink: 0;
    padding-right: 16px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.expo-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    transition: all 0.2s var(--ease);
}
.expo-pill:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.expo-pill strong { color: var(--white); font-weight: 700; }
.expo-pill i { color: var(--orange); }

/* ============ SECTION HEAD ============ */
.section { padding: 100px 0; }
.section.bg-50 { background: var(--bg-50); }
.section.bg-navy { background: var(--navy); color: var(--white); }
.section.bg-navy h2, .section.bg-navy h3 { color: var(--white); }

.sec-head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.sec-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: rgba(31, 111, 235, 0.1);
    color: var(--blue);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.sec-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-bottom: 16px;
}
.sec-head p {
    color: var(--text-500);
    font-size: 1.05rem;
    line-height: 1.7;
}
.section.bg-navy .sec-head p { color: rgba(255,255,255,0.75); }
.section.bg-navy .sec-tag { background: rgba(255,255,255,0.1); color: var(--cyan); }

/* ============ SOLUTIONS CARDS (4 cards: Forex / Prop / Backend / Prediction) ============ */
.solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.sol-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.sol-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31,111,235,0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31,111,235,0.3);
}
.sol-card:hover::before { opacity: 1; }
.sol-card > * { position: relative; z-index: 1; }

.sol-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(11,37,69,0.2);
}
.sol-card:nth-child(2) .sol-icon { background: linear-gradient(135deg, #1F6FEB, #00B4D8); }
.sol-card:nth-child(3) .sol-icon { background: linear-gradient(135deg, #2EC4B6, #1F6FEB); }
.sol-card:nth-child(4) .sol-icon { background: linear-gradient(135deg, #F77F00, #F7444E); }

.sol-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.sol-card p {
    color: var(--text-500);
    line-height: 1.7;
    font-size: 0.97rem;
    margin-bottom: 22px;
}
.sol-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--blue);
    font-size: 0.95rem;
    transition: gap 0.25s var(--ease);
}
.sol-link:hover { gap: 14px; color: var(--blue-600); }

/* ============ ABOUT / PROCESS 4 STEPS ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
}
.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 20px;
}
.about-text > p {
    color: var(--text-500);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 16px;
}

.steps { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}
.step-num {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11,37,69,0.2);
}
.step h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.step p {
    color: var(--text-500);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ============ FEATURES GRID (6 perks) ============ */
.features-g {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat-card {
    padding: 32px 28px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.feat-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(31,111,235,0.1);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.feat-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.feat-card p {
    color: var(--text-500);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============ ECOSYSTEM / INTEGRATIONS ============ */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.eco-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.eco-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.eco-logo {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--bg-100);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--navy);
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.1;
}
.eco-title h4 { font-size: 1rem; margin-bottom: 2px; }
.eco-title span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.eco-card p { color: var(--text-500); font-size: 0.9rem; line-height: 1.65; }

/* ============ TESTIMONIALS / CLIENTS TABS ============ */
.tabs-nav {
    display: inline-flex;
    background: var(--bg-100);
    border-radius: var(--radius-pill);
    padding: 6px;
    margin-bottom: 40px;
    gap: 4px;
}
.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-500);
    transition: all 0.25s var(--ease);
}
.tab-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.t-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.t-card .quote {
    color: var(--text-600);
    line-height: 1.7;
    font-size: 0.96rem;
}
.t-card .quote::before { content: '\201C'; color: var(--blue); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.t-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.t-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
}
.t-name strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.t-name span { font-size: 0.82rem; color: var(--text-muted); }

/* ============ CTA BANNER ============ */
.cta-banner {
    padding: 72px 56px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-500) 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    color: var(--white);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(31,111,235,0.25), transparent 60%);
    border-radius: 50%;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,180,216,0.2), transparent 60%);
    border-radius: 50%;
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}
.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 14px;
}
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.02rem; line-height: 1.7; max-width: 540px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ============ FAQ ============ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    text-align: left;
}
.faq-q i {
    color: var(--blue);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    font-size: 0.9rem;
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
    padding: 0 26px 24px;
    color: var(--text-500);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ============ NEWS / BLOG PREVIEW ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.news-img {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
}
.news-card:nth-child(2) .news-img { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.news-card:nth-child(3) .news-img { background: linear-gradient(135deg, #2EC4B6, var(--navy)); }
.news-body { padding: 26px; }
.news-tags { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.news-tag {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(31,111,235,0.1);
}
.news-tag.date { background: var(--bg-100); color: var(--text-500); }
.news-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-card h4 a:hover { color: var(--blue); }
.news-excerpt {
    color: var(--text-500);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
}
.news-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-more:hover { gap: 10px; }

/* ============ PAGE HEADER (internal pages) ============ */
.page-header {
    padding: calc(var(--header-h) + 12px) 0 60px;
    background:
        radial-gradient(ellipse 70% 60% at 90% -20%, rgba(31,111,235,0.15), transparent 60%),
        var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
}
.page-header-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.crumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}
.crumbs a:hover { color: var(--cyan); }
.crumbs i { font-size: 0.7rem; opacity: 0.6; }
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 18px;
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* ============ CONTENT PAGES ============ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-text h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    margin-bottom: 20px;
}
.content-text p {
    color: var(--text-500);
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 1rem;
}
.content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 28px;
}
.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-600);
    font-weight: 500;
    font-size: 0.96rem;
}
.content-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.content-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-100);
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 5rem;
    opacity: 0.85;
}

/* ============ CONTACT FORM ============ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.contact-info > p {
    color: var(--text-500);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.97rem;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-item i {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(31,111,235,0.1);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-item .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.contact-item .val { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form .full { grid-column: 1 / -1; }
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: all 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(31,111,235,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.75);
    padding-top: 80px;
    margin-top: 0;
}
.footer-top-cta {
    max-width: var(--container);
    margin: 0 auto 56px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top-cta h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.footer-top-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.footer-top-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px 48px;
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 40px;
}
.f-brand { max-width: 300px; }
.f-brand .brand { margin-bottom: 18px; }
.f-brand .brand-name { color: var(--white); }
.f-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 22px;
}
.f-socials { display: flex; gap: 10px; }
.f-socials a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    transition: all 0.25s var(--ease);
}
.f-socials a:hover {
    background: var(--blue);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

.f-col h5 {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s var(--ease);
}
.f-col a:hover { color: var(--cyan); }

.footer-news {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
}
.footer-news p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
}
.footer-news .sub {
    display: flex;
    gap: 8px;
}
.footer-news input {
    flex: 1;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 0.85rem;
    font-family: inherit;
}
.footer-news input::placeholder { color: rgba(255,255,255,0.4); }
.footer-news input:focus { outline: none; border-color: var(--cyan); }
.footer-news button {
    padding: 9px 16px;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s var(--ease);
}
.footer-news button:hover { background: var(--blue-600); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 32px 36px;
    max-width: var(--container);
    margin: 0 auto;
    color: rgba(255,255,255,0.55);
    font-size: 0.84rem;
    line-height: 1.8;
}
.footer-bottom p { margin-bottom: 14px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-legal-links a:hover { color: var(--cyan); }

/* ============ ANIMATIONS ============ */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .site-nav { display: none; }
    .hamburger { display: grid; }
    .hero-inner,
    .about-grid,
    .cta-banner-inner,
    .contact-wrap,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .content-grid.reverse { direction: ltr; }
    .solutions,
    .features-g,
    .ecosystem-grid,
    .testimonials,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .f-brand { grid-column: 1 / -1; max-width: none; }
    .footer-top-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-top-cta .actions { justify-content: center; }
    .cta-banner { padding: 56px 40px; }
    .cta-banner .actions { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .container, .header-inner, .footer-grid, .footer-top-cta, .footer-bottom { padding-left: 20px; padding-right: 20px; }
    .site-header { height: 72px; }
    :root { --header-h: 72px; --expo-h: 156px; }
    .hero { padding-top: calc(var(--header-h) + 28px); }
    .hero-actions, .header-cta .btn.btn-outline { display: none; }
    .solutions,
    .features-g,
    .ecosystem-grid,
    .testimonials,
    .news-grid,
    .footer-grid,
    .form {
        grid-template-columns: 1fr;
    }
    .hero-meta { gap: 18px; }
    .section { padding: 72px 0; }
    .sec-head { margin-bottom: 48px; }
    .expos-label { display: none; }
    .floating { display: none; }
    .cta-banner { padding: 44px 28px; }
    .cta-banner-inner { gap: 32px; }
    .contact-wrap { padding: 28px 24px; gap: 40px; }
    .page-header { padding-top: calc(var(--header-h) + 32px); padding-bottom: 44px; }
    .footer-top-cta { padding-bottom: 36px; margin-bottom: 40px; }
}

@media (max-width: 480px) {
    :root { --expo-h: 220px; }
    .hero h1 { font-size: 2rem; }
    .hero-actions .btn-primary { display: inline-flex; }
    .tabs-nav { padding: 4px; }
    .tab-btn { padding: 8px 16px; font-size: 0.85rem; }
    .step-num { width: 40px; height: 40px; }
}
