/*
Theme Name: FinixVPN
Template: astra
Version: 1.0.0
Description: FinixVPN dark theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
:root {
    --fx-bg:       #09090f;
    --fx-bg2:      #0d0b18;
    --fx-card:     rgba(255,255,255,0.03);
    --fx-border:   rgba(255,255,255,0.07);
    --fx-accent:   #7c3aed;
    --fx-accent-l: #9d5cf6;
    --fx-text:     #e2e8f0;
    --fx-muted:    #94a3b8;
    --fx-dim:      #64748b;
    --fx-white:    #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    background-color: var(--fx-bg) !important;
    color: var(--fx-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--fx-accent-l);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover,
a:focus {
    color: var(--fx-accent);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--fx-white) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
#masthead,
.site-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-desktop-header,
.ast-above-header-bar,
.ast-below-header-bar,
.ast-sticky-active,
.elementor-sticky--active #masthead {
    background-color: var(--fx-bg) !important;
    background: var(--fx-bg) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: none !important;
}

/* Nav links */
.main-navigation a,
.main-navigation li a,
.main-header-bar .main-navigation a,
.ast-nav-menu > li > a,
#masthead .main-navigation a {
    color: var(--fx-muted) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: color 0.2s !important;
    padding: 8px 14px !important;
}

.main-navigation a:hover,
.main-navigation li a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--fx-white) !important;
    background: transparent !important;
}

/* Site title in header */
.ast-site-identity .site-title a,
.site-title a,
header .site-title a {
    color: var(--fx-white) !important;
    font-weight: 800 !important;
    font-size: 1.3rem !important;
}

/* Header layout */
.ast-primary-header-bar .ast-container,
.main-header-bar .ast-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-header {
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
}

.main-header-bar {
    padding: 0 !important;
    min-height: 68px !important;
    display: flex !important;
    align-items: center !important;
}

/* ═══════════════════════════════════════════
   PAGE BODY / CONTENT AREA
═══════════════════════════════════════════ */
.site,
.site-content,
#content,
.ast-container,
#primary,
.content-area,
.entry-content,
.ast-article-post,
.post-content,
.page-content,
.ast-separate-container,
.ast-separate-container .ast-article-post,
.ast-plain-container,
.ast-page-builder-template,
.ast-full-width-layout,
.hentry {
    background-color: var(--fx-bg) !important;
    background: var(--fx-bg) !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove Astra's white article card look */
.ast-separate-container .site-content > .ast-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Entry title — hide on homepage (page builder handles it) */
.page-template-elementor_header_footer .entry-header,
.page-template-elementor_header_footer .ast-post-format-,
.elementor-page .entry-header,
.elementor-page .post-header {
    display: none !important;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#colophon,
.site-footer,
.ast-small-footer,
.ast-footer-area,
footer {
    background-color: var(--fx-bg) !important;
    background: var(--fx-bg) !important;
    color: var(--fx-dim) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.ast-small-footer,
.ast-footer-copyright,
.ast-footer-copyright a {
    color: var(--fx-dim) !important;
    font-size: 0.85rem !important;
}

.ast-small-footer a:hover {
    color: var(--fx-accent-l) !important;
}

/* ═══════════════════════════════════════════
   ELEMENTOR SECTIONS
═══════════════════════════════════════════ */
.elementor-section,
.elementor-element,
.elementor-widget-wrap,
.elementor-section-wrap {
    max-width: 100% !important;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px !important;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.ast-button,
.ast-custom-button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link {
    background: var(--fx-accent) !important;
    color: var(--fx-white) !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    border: none !important;
    transition: all 0.2s !important;
}

.ast-button:hover,
.ast-custom-button:hover,
button[type="submit"]:hover {
    background: var(--fx-accent-l) !important;
    box-shadow: 0 8px 24px rgba(124,58,237,0.4) !important;
    transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════ */
.ast-mobile-header-wrap,
.main-navigation .mobile-menu,
.ast-mobile-menu-container,
.ast-hamburger-menu-wrap,
.ast-popup-overlay,
.ast-flyout-menu-content {
    background: var(--fx-bg2) !important;
}

.ast-mobile-menu-container a,
.ast-flyout-menu-content a {
    color: var(--fx-text) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
    background: var(--fx-bg2) !important;
}

/* Hamburger icon color */
.menu-toggle,
.ast-mobile-menu-buttons button,
.ast-button-wrap .mobile-menu-toggle,
.ast-mobile-header-wrap .mobile-menu-toggle-wrap button {
    color: var(--fx-white) !important;
    background: transparent !important;
}

.ast-mobile-menu-buttons svg path,
.ast-mobile-menu-buttons svg {
    stroke: var(--fx-white) !important;
    fill: var(--fx-white) !important;
}

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
#secondary,
.widget-area,
.sidebar {
    background: var(--fx-bg) !important;
}

.widget-title {
    color: var(--fx-white) !important;
}

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--fx-bg2);
}
::-webkit-scrollbar-thumb {
    background: var(--fx-accent);
    border-radius: 3px;
}

/* ═══════════════════════════════════════════
   FAQ details/summary global
═══════════════════════════════════════════ */
details > summary {
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    list-style: none;
}
details > summary::-webkit-details-marker { display: none; }

/* ═══════════════════════════════════════════
   MISC
═══════════════════════════════════════════ */
.ast-breadcrumbs-wrapper,
.entry-meta,
.posted-on,
.post-author {
    color: var(--fx-dim) !important;
}

/* Remove white gaps/padding Astra adds around page builder pages */
.ast-page-builder-template .entry-content,
.ast-page-builder-template article,
.elementor-page article {
    padding: 0 !important;
    margin: 0 !important;
}

/* Force page builder pages to be full width */
.ast-page-builder-template #primary,
.elementor-page #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ast-page-builder-template .site-content,
.elementor-page .site-content {
    padding: 0 !important;
}

/* Remove padding from entry on full-width pages */
.ast-page-builder-template .entry-content.ast-builder-grid-row-container,
.elementor-page .ast-container {
    padding: 0 !important;
    max-width: 100% !important;
}
