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

:root {
    --navy: #1a1c6a;
    --navy-light: #252799;
    --navy-dark: #12144d;
    --red: #e81c2e;
    --red-dark: #c4182a;
    --red-glow: rgba(232, 28, 46, 0.15);
    --white: #ffffff;
    --off-white: #f7f8fc;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--gray-700);
    -webkit-font-smoothing: antialiased;
}

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

/* =============================================
   TOP BAR — Dark strip
============================================= */
.efx-topbar {
    background: var(--gray-900);
    padding: 0 40px;
    position: relative;
    z-index: 1002;
}

.efx-topbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--red), var(--navy));
    opacity: 0.5;
}

.efx-topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.efx-topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.efx-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
    transition: color 0.25s;
}

.efx-topbar-item:hover { color: #fff; }

.efx-topbar-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.6; }

.efx-topbar-sep {
    width: 1px; height: 16px;
    background: rgba(255,255,255,0.08);
}

.efx-topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.efx-topbar-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.efx-topbar-nav a {
    color: rgba(255,255,255,0.45);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: color 0.25s;
}

.efx-topbar-nav a:hover { color: #fff; }

.efx-topbar-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.efx-topbar-socials a {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    color: rgba(255,255,255,0.3);
    transition: all 0.25s;
}

.efx-topbar-socials a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.efx-topbar-socials a svg { width: 16px; height: 16px; }

/* =============================================
   MAIN HEADER — White, big, premium
============================================= */
.efx-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(26,28,106,0.04);
}

.efx-header.scrolled {
    box-shadow: 0 4px 32px rgba(26,28,106,0.08);
}

.efx-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* Logo */
.efx-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.efx-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.efx-logo:hover .efx-logo-img {
    transform: scale(1.04);
}

/* Navigation */
.efx-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.efx-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.efx-nav-link {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s;
    position: relative;
}

.efx-nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 22px; right: 22px;
    height: 3px;
    background: var(--red);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.efx-nav-link:hover::after {
    transform: scaleX(1);
}

.efx-nav-link .arrow {
    width: 12px; height: 12px;
    transition: transform 0.3s;
    opacity: 0.4;
}

.efx-nav-item:hover .efx-nav-link .arrow {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* Dropdown */
.efx-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    min-width: 340px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(26,28,106,0.12), 0 0 0 1px rgba(26,28,106,0.04);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.efx-dropdown::before {
    content: '';
    position: absolute;
    top: -7px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: var(--white);
    border-radius: 3px;
    box-shadow: -2px -2px 4px rgba(26,28,106,0.03);
}

.efx-nav-item:hover .efx-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.efx-dd-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    transition: all 0.2s;
}

.efx-dd-link:hover {
    background: var(--off-white);
}

.efx-dd-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(26,28,106,0.05), rgba(26,28,106,0.02));
    flex-shrink: 0;
    transition: all 0.25s;
}

.efx-dd-link:hover .efx-dd-icon {
    background: linear-gradient(135deg, rgba(26,28,106,0.08), rgba(232,28,46,0.05));
    transform: scale(1.06);
}

.efx-dd-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.efx-dd-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy);
    font-family: var(--font-body);
}

.efx-dd-desc {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* CTA Area */
.efx-cta-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.efx-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: color 0.25s;
}

.efx-phone svg { width: 18px; height: 18px; color: var(--navy); opacity: 0.5; }
.efx-phone:hover { color: var(--navy); }
.efx-phone:hover svg { opacity: 1; }

.efx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-body);
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--red-glow);
}

.efx-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s;
}

.efx-cta-btn:hover::before { left: 100%; }

.efx-cta-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,28,46,0.25);
}

.efx-cta-btn svg { width: 18px; height: 18px; position: relative; z-index: 1; }

/* Hamburger */
.efx-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: none;
    z-index: 10;
}

.efx-hamburger span {
    width: 28px; height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
}

.efx-hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.efx-hamburger.active span:nth-child(2) { opacity: 0; }
.efx-hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
============================================= */
.efx-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.efx-mobile-overlay.active { opacity: 1; }

.efx-mobile-menu {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: var(--white);
    z-index: 1001;
    padding: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(15,23,42,0.15);
}

.efx-mobile-menu.active { transform: translateX(0); }

.efx-mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--gray-100);
}

.efx-mob-header img {
    height: 36px;
}

.efx-mob-close {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.2s;
}

.efx-mob-close:hover { background: var(--gray-100); color: var(--gray-800); }
.efx-mob-close svg { width: 20px; height: 20px; }

.efx-mob-nav { padding: 16px 28px; }

.efx-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--gray-700);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
    cursor: pointer;
}

.efx-mob-link:hover { color: var(--navy); }

.efx-mob-link .icon { font-size: 1.1rem; transition: transform 0.3s; }

.efx-mob-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.efx-mob-sub.active { max-height: 600px; }

.efx-mob-sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 12px 16px;
    color: var(--gray-500);
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-50);
    transition: all 0.2s;
}

.efx-mob-sub a:hover { color: var(--navy); padding-left: 22px; }
.efx-mob-sub a span { font-size: 1rem; }

.efx-mob-cta {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--gray-100);
}

.efx-mob-cta-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px;
    border-radius: 12px;
    background: var(--red);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px var(--red-glow);
}

.efx-mob-cta-secondary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-600) !important;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
}

/* =============================================
   FOOTER
============================================= */
.efx-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

.efx-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--red), var(--navy));
}

/* Decorative shapes */
.efx-footer-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    pointer-events: none;
}

.efx-footer-deco-1 {
    width: 500px; height: 500px;
    background: var(--red);
    top: -200px; right: -100px;
}

.efx-footer-deco-2 {
    width: 350px; height: 350px;
    background: var(--navy-light);
    bottom: -100px; left: -80px;
}

.efx-footer-top {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 40px 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

/* Footer Brand */
.efx-footer-brand img {
    height: 44px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.efx-footer-brand p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
    max-width: 320px;
}

.efx-footer-socials {
    display: flex;
    gap: 8px;
}

.efx-footer-social {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.35);
    transition: all 0.3s;
}

.efx-footer-social:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232,28,46,0.2);
}

.efx-footer-social svg { width: 18px; height: 18px; }

/* Footer Columns */
.efx-footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.efx-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 3px;
    background: var(--red);
    border-radius: 3px;
}

.efx-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.efx-footer-col ul li a {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.efx-footer-col ul li a::before {
    content: '';
    width: 0; height: 1px;
    background: var(--red);
    transition: width 0.3s;
}

.efx-footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.efx-footer-col ul li a:hover::before { width: 12px; }

/* Footer Contact */
.efx-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.efx-footer-contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.efx-footer-contact-icon svg {
    width: 18px; height: 18px;
    color: var(--red);
}

.efx-footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.efx-footer-contact-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
}

.efx-footer-contact-value {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.25s;
}

.efx-footer-contact-value:hover { color: #fff; }

/* Footer Bottom */
.efx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
}

.efx-footer-bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.efx-footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.25);
}

.efx-footer-copy strong {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.efx-footer-bottom-links {
    display: flex;
    gap: 28px;
}

.efx-footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    font-weight: 500;
    transition: color 0.25s;
}

.efx-footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   DEMO CONTENT
============================================= */
.demo-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.demo-page h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.demo-page p {
    color: var(--gray-400);
    font-size: 1rem;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .efx-nav { display: none; }
    .efx-hamburger { display: flex; }
    .efx-mobile-menu, .efx-mobile-overlay { display: block; }
    .efx-phone { display: none; }
    .efx-header-inner { padding: 0 24px; }
    .efx-footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 24px 40px; }
}

@media (max-width: 768px) {
    .efx-topbar-nav { display: none; }
    .efx-topbar { padding: 0 20px; }
    .efx-topbar-inner { height: 38px; }
    .efx-topbar-left { gap: 16px; }
    .efx-topbar-item { font-size: 0.75rem; }
    .efx-topbar-socials { padding-left: 12px; gap: 4px; }
    .efx-header-inner { height: 64px; }
    .efx-logo-img { height: 36px; }
    .efx-cta-btn { padding: 11px 20px; font-size: 0.82rem; }
    .efx-footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 36px; }
    .efx-footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
}

@media (max-width: 480px) {
    .efx-topbar-item:nth-child(4) { display: none; }
    .efx-topbar-item:nth-child(3) { display: none; }
    .efx-cta-btn span { display: none; }
    .efx-cta-btn { padding: 11px 14px; }
    .efx-mobile-menu { width: 100%; max-width: 100%; }
}
