/* ============================================
   IonicWallz - Complete Security Platform
   CSS Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --secondary: #0EA5E9;
    --accent-yellow: #FBBF24;
    --accent-orange: #F97316;
    --accent-pink: #EC4899;
    --accent-cyan: #06B6D4;
    --accent-purple: #8B5CF6;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --border-color: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-hero: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/*
 * wp-base.css (the inherited WordPress theme CSS) sets
 *     a:hover, a:focus, a:active { color: var(--contrast) }   // #222222
 * at specificity (0,1,1), which outranks Tailwind's `.text-white` (0,1,0).
 *
 * Any link that is styled as a solid button therefore had its label repainted
 * near-black on hover. `<button>` elements were never affected, which is why
 * this only appeared once the Request Demo CTAs became real links.
 *
 * Restate the utility one notch higher (0,2,1) rather than editing the minified
 * wp-base blob. An element that explicitly opts into `text-white` means it, in
 * every interaction state. Same fix as .axionac-login-trigger further down.
 */
a.text-white:hover,
a.text-white:focus,
a.text-white:active {
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 10rem;
    
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

/*
 * Same two problems as .footer-links a — see the long note there.
 *
 * Worse here, in fact: `.nav-link` is only (0,1,0) while wp-base's
 * `a:hover, a:focus, a:active` is (0,1,1), so the theme rule wins outright
 * rather than by luck of stylesheet order. A nav link kept its dark #222 after
 * being clicked, on every build.
 *
 * `a.nav-link:…` is (0,2,1) and settles it. Literal colour so the :visited
 * case works in Safari; keep in sync with --text-gray (#64748B).
 */
a.nav-link:link,
a.nav-link:visited,
a.nav-link:focus,
a.nav-link:active {
    color: #64748B;
}

a.nav-link:hover,
a.nav-link:visited:hover,
a.nav-link:focus-visible {
    color: var(--text-dark);
    background: var(--bg-light);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary, #4338ca);
    outline-offset: 2px;
}

.nav-link i {
    font-size: 0.625rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-gray);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-primary.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
}

.mobile-menu-btn:active {
    background: var(--bg-gray);
}
/* Behav */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.capability-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    margin: 20px 0px;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.capability-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.capability-icon i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.capability-icon.purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #faf5ff 100%);
}

.capability-icon.purple i {
    color: #8b5cf6;
}

.capability-icon.orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fff7ed 100%);
}

.capability-icon.orange i {
    color: #f97316;
}

.capability-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.capability-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}
.bg-slate-900 {
    --tw-bg-opacity: 1;
    background-color:#305031;

}
.bg-slate-800 {
    --tw-bg-opacity: 1;
    background-color: rgb(237 235 231);
    color: #000;
}
.text-cyan-400
{
	color:#ffac05;
}
.faq-container {
  max-width: 700px;
  margin: 40px auto;
}
.text-ngreen,.text-green-400
{
	color:#0c220d;
}
.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: #f9f9f9;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  color: #000;
}

.faq-question:hover {
  background: #eee;
  color: #000;
}

.faq-answer {
  display: none;
  padding: 15px;
  background: #fff;
}
.seat-select-wrapper {
    display: flex;
    justify-content: flex-start; /* left side */
    margin-bottom: 20px;
}

.seat-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
/* register page */
.otp__box {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.otp__box input {
    width: 55px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    text-align: center;
    font-weight: normal;
    border: 1px solid #a7a7a7;
    border-radius: 4px;
    padding: 0px 7px !important;
}

.otp__box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.resend__otp {
    all: unset;
    cursor: pointer;
    color: var(--primary-color);
}
.about h1
{
    font-size: 2.25rem;
    line-height: 2.5rem;
    --tw-text-opacity: 1;
    color: rgb(15 23 42 / var(--tw-text-opacity, 1));
    font-weight: 700;

}
.about 
{
    min-height: 500px;
    margin: 5rem 0px;
}
.about p
{
    margin: 10px 0px;
    line-height: 30px;
}
.loader_img {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.betterdocs-sidebar.betterdocs-sidebar-layout-7 .betterdocs-sidebar-content,.betterdocs-wrapper .betterdocs-search-form-wrapper:not(.betterdocs-elementor)
{
    padding-top: 150px !important;
}
.faq-question {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: #f5f5f5;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

.faq-icon {
    transition: 0.3s ease;
    font-size: 20px;
}

/* Open state */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.gray_dark
{
	color:rgb(67 70 74);
}
.bg-green-600
{
	background-color:#305031;
}
.bg-yellow-600
{
	background-color:#ffac05;
}
.sjb-page .sjb-filters.sjb-filters-v1 .btn-search
{
	background-color:#305031;
}
/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-outline,
    .btn-white,
    .btn-outline-white,
    .nav-link,
    .dropdown-item,
    .dropdown-item-simple {
        min-height: 44px;
    }
    
    .feature-card:hover,
    .team-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* ============================================
   Mobile Menu Drawer
   ============================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: white;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--bg-gray);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: var(--bg-light);
}

.mobile-nav-link.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.mobile-nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.mobile-nav-link.active i {
    transform: rotate(180deg);
}

.mobile-nav-link.single {
    justify-content: flex-start;
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    background: var(--bg-light);
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active {
    max-height: 1000px;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 28px;
    font-size: 0.9375rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.mobile-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 0.875rem;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ============================================
   Dropdown Menu Styles
   ============================================ */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown > .nav-link {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 20px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.dropdown-sm {
    min-width: 220px;
    padding: 12px;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item.dropdown-full {
    grid-column: span 1;
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dropdown-icon-blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
}

.dropdown-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.dropdown-icon-gray {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-gray);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dropdown-desc {
    font-size: 0.8125rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.dropdown-item-simple {
    display: block;
    padding: 10px 16px;
    font-size: 0.9375rem;
    color: var(--text-gray);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.dropdown-item-simple:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Dropdown arrow indicator */
.nav-item.has-dropdown > .nav-link i {
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > .nav-link i,
.nav-item.has-dropdown.active > .nav-link i {
    transform: rotate(180deg);
}

/* Active state for nav link when dropdown is open */
.nav-item.has-dropdown:hover > .nav-link,
.nav-item.has-dropdown.active > .nav-link {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 0 80px;
    
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.875rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
   
    margin: 0 auto 32px;
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-gray);
}

.hero-feature i {
    color: #10B981;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-trust {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.trust-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    padding: 60px 0;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-icon-blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
}

.feature-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.feature-icon-yellow {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-yellow);
}

.feature-icon-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.feature-icon-indigo {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.feature-icon-orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FBBF24 0%, #F97316 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   Dashboard Section
   ============================================ */
.dashboard-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.dashboard-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.dashboard-description {
    font-size: 1.0625rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.dashboard-features {
    margin-bottom: 32px;
}

.dashboard-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.dashboard-features li i {
    color: #10B981;
    font-size: 1.125rem;
}

.dashboard-preview {
    position: relative;
}

.dashboard-card {
    background: var(--primary);
    border-radius: var(--radius-2xl);
    padding: 32px;
    color: white;
    box-shadow: var(--shadow-xl);
}

.dashboard-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.75rem;
    opacity: 0.8;
}

.dashboard-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
    transition: background 0.3s ease;
}

.chart-bar:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-yellow);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.author-role {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

/* ============================================
   Teams Section
   ============================================ */
.teams {
    padding: 100px 0;
    background: var(--bg-white);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.team-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.team-icon-blue {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.team-icon-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.team-icon-pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent-pink);
}

.team-icon-orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.team-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.team-description {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    position: relative;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: white;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter {
    padding: 60px 0;
    background: var(--text-dark);
}

.newsletter .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.newsletter-description {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    width: 300px;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 10rem 40px;
    background: #0c220d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
    color: white;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

/*
 * Footer links kept turning near-black on the page you had just navigated to.
 *
 * Two separate causes, both fixed here:
 *
 * 1. wp-base.css (inherited WordPress theme) sets
 *        a:hover, a:focus, a:active { color: var(--contrast) }   // #222222
 *    at specificity (0,1,1) — EXACTLY the same as `.footer-links a`. With a
 *    tie, the winner is decided by stylesheet order alone, which differs
 *    between the dev server and a production bundle. That is why this looked
 *    fine on one machine and broken on another. Clicking a footer link leaves
 *    it focused after a client-side navigation, so `a:focus` kept painting the
 *    current page's own link dark.
 *
 * 2. Safari additionally refuses custom properties inside :visited styles (a
 *    privacy restriction), so `color: var(--text-light)` does not apply to a
 *    link you have already opened and it falls back to the UA visited colour.
 *
 * So: pin every interaction state at (0,2,1) — high enough that the theme rule
 * can never win regardless of order — using a LITERAL colour, because a var()
 * would be ignored in the :visited case. Keep in sync with --text-light.
 */
.footer-links a:link,
.footer-links a:visited,
.footer-links a:focus,
.footer-links a:active {
    color: #94A3B8;
}

.footer-links a:hover,
.footer-links a:visited:hover,
.footer-links a:focus-visible {
    color: #ffffff;
}

/*
 * Pinning the colour above removes the only cue a keyboard user had for focus,
 * so give them a real one. :focus-visible, not :focus — a mouse click should
 * not leave a ring behind.
 */
.footer-links a:focus-visible {
    outline: 2px solid #94A3B8;
    outline-offset: 3px;
    border-radius: 2px;
}

/*
 * The link pointing at the page you are on, in white.
 *
 * `aria-current="page"` is set by FooterNavLink and is both the accessibility
 * signal and the styling hook, so there is no extra class to keep in sync.
 *
 * The states are spelled out because the rules above pin :link/:visited/:focus/
 * :active at (0,2,1); adding the attribute makes these (0,3,1) so they win in
 * every state rather than depending on source order.
 */
.footer-links a[aria-current="page"]:link,
.footer-links a[aria-current="page"]:visited,
.footer-links a[aria-current="page"]:focus,
.footer-links a[aria-current="page"]:active,
.footer-links a[aria-current="page"]:hover {
    /* Solid white + bold: the resting links are muted grey, so the current
       page reads as the one bright entry in its column. */
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title,
.hero-description,
.hero-features,
.hero-cta {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-description {
    animation-delay: 0.1s;
}

.hero-features {
    animation-delay: 0.2s;
}

.hero-cta {
    animation-delay: 0.3s;
}

.step-icon {
    animation: float 3s ease-in-out infinite;
}

.step-card:nth-child(2) .step-icon {
    animation-delay: 0.5s;
}

.step-card:nth-child(3) .step-icon {
    animation-delay: 1s;
}

.step-card:nth-child(4) .step-icon {
    animation-delay: 1.5s;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid,
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
    }
    
    .dropdown-menu {
        min-width: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav {
        height: 64px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 20px;
        flex-direction: column;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        width: 100%;
        padding: 16px 0;
        justify-content: space-between;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
        background: var(--bg-light);
        margin: 0 -16px;
        width: calc(100% + 32px);
    }
    
    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 2000px;
        padding: 16px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .dropdown-item {
        padding: 12px;
        background: white;
        border-radius: var(--radius-md);
        margin-bottom: 4px;
    }
    
    .dropdown-menu.dropdown-sm {
        min-width: 100%;
    }
    
    .dropdown-item-simple {
        background: white;
        margin-bottom: 4px;
        border-radius: var(--radius-md);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .trust-logos {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .trust-logo {
        font-size: 0.9rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 40px;
    }
    
    /* Stats */
    .stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8125rem;
    }
    
    /* Features */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    /* How It Works */
    .how-it-works {
        padding: 60px 0;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .step-card {
        padding: 24px 16px;
    }
    
    .step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    /* Dashboard Section */
    .dashboard-section {
        padding: 60px 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dashboard-content {
        text-align: center;
        order: 2;
    }
    
    .dashboard-preview {
        order: 1;
    }
    
    .dashboard-title {
        font-size: 1.75rem;
    }
    
    .dashboard-features {
        text-align: left;
    }
    
    .dashboard-features li {
        justify-content: flex-start;
    }
    
    .dashboard-content .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-header {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    /* Teams */
    .teams {
        padding: 60px 0;
    }
    
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .team-card {
        padding: 24px 16px;
    }
    
    .team-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn-white,
    .cta-buttons .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
    
    /* Newsletter */
    .newsletter {
        padding: 40px 0;
    }
    
    .newsletter .container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .newsletter-title {
        font-size: 1.25rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand .nav-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .btn-primary.btn-lg,
    .btn-outline.btn-lg {
        padding: 12px 20px;
        font-size: 0.9375rem;
    }
    
    .trust-logos {
        gap: 16px;
    }
    
    .trust-logo {
        font-size: 0.8rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9375rem;
        margin-bottom: 32px;
    }
    
    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Teams */
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Dashboard */
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    .dashboard-header {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-text {
        font-size: 0.625rem;
    }
    
    .dashboard-chart {
        height: 80px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9375rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links-group {
        text-align: center;
    }
    
    .footer-heading {
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .dashboard-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .dashboard-stat {
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;   /* kam padding */
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links,
    .nav-actions {
        display: none;  /* desktop menu hide */
    }

    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
    }

    .nav-logo img {
        height: 40px;
    }
}
/* ---------------------------------------------------------------------------
   Header "Log in" menu (components/LoginMenu.tsx).

   Its own styles rather than reusing `.dropdown-menu`: those are pure-CSS hover
   menus scoped to `.nav-links .nav-item.has-dropdown`, and this control lives
   in `.nav-actions`. It is also click-driven (React state), because a hover
   menu is unusable on touch.
   --------------------------------------------------------------------------- */
.axionac-login-menu {
    position: relative;
}

/* The reset is repeated across :hover/:focus/:active ON PURPOSE.
   `wp-base.css` (ported from the WordPress theme) styles bare buttons:

       button            { color:#fff; background-color:#55555e }
       button:hover      { color:#fff; background-color:#3f4047 }

   `button:hover` is specificity (0,1,1), which BEATS a plain
   `.axionac-login-trigger` (0,1,0) — so the base reset held but the moment you
   moused over, the dark WordPress button background came back and the control
   turned into a charcoal box with purple text. Every interactive state has to
   restate the reset to out-specify it. */
.axionac-login-trigger,
.axionac-login-trigger:hover,
.axionac-login-trigger:focus,
.axionac-login-trigger:active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* The nav row is tight; without this "Log in" breaks across two lines
       and drags the whole header taller. */
    white-space: nowrap;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 16px;
    background: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.axionac-login-trigger {
    color: var(--text-gray);
}

/* `:focus-visible`, not `:focus` — otherwise the label stays highlighted after
   a mouse click and reads as stuck. Keyboard users still get the cue, and the
   open state is already covered by [aria-expanded]. */
.axionac-login-trigger:hover,
.axionac-login-trigger:focus-visible,
.axionac-login-trigger[aria-expanded="true"] {
    color: var(--primary);
}

.axionac-login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 260px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 1000;
}

.axionac-login-dropdown-head {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 6px 10px 8px;
}

.axionac-login-item {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.axionac-login-item:hover {
    background: #f1f5f9;
}

.axionac-login-item-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark, #0f172a);
}

.axionac-login-item-desc {
    display: block;
    margin-top: 1px;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--text-gray);
}

/* "Log in instead" link inside the signup error notice. */
.axionac-form-notice-action {
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
    white-space: nowrap;
}

/* ===========================================================================
   Legal pages (privacy policy, terms)
   Shared by the full pages and the modal on the contact page, so the two
   always look the same. Deliberately narrow measure — long legal prose is
   unreadable at full container width.
   =========================================================================== */
.legal-content {
    max-width: 72ch;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content .legal-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 40px 0 12px;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 8px;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* wp-base.css styles bare `a` at (0,1,1); restate at (0,2,1) so links inside
   legal copy keep the brand colour in every state. Same trap as .nav-link. */
.legal-content a:link,
.legal-content a:visited,
.legal-content a:focus,
.legal-content a:active {
    color: var(--primary, #4338ca);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark, #3730a3);
}

/* ===========================================================================
   Legal modal (privacy / terms opened from the demo form)
   =========================================================================== */
/*
 * These triggers are <button> elements, and wp-base.css styles bare buttons:
 *     button          { color:#fff; background-color:#55555e }
 *     button:hover    { color:#fff; background-color:#3f4047 }
 * The base rule is only (0,0,1) so `.axionac-legal-link` beat it at rest, but
 * `button:hover` is (0,1,1) and outranked it — which is why hovering painted a
 * dark grey box behind "Privacy Policy". Qualify with the element name to reach
 * (0,2,1) and restate every state explicitly.
 *
 * Same wp-base trap as .nav-link and a.text-white elsewhere in this file.
 */
button.axionac-legal-link,
button.axionac-legal-link:hover,
button.axionac-legal-link:focus,
button.axionac-legal-link:focus-visible,
button.axionac-legal-link:active {
    background: none;
    background-color: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

button.axionac-legal-link,
button.axionac-legal-link:focus,
button.axionac-legal-link:active {
    color: var(--primary);
}

button.axionac-legal-link:hover,
button.axionac-legal-link:focus-visible {
    color: var(--primary-dark);
}

.axionac-legal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.axionac-legal-dialog {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: min(1040px, 100%);
    /* Cap the height so the body scrolls rather than the dialog running off
       the viewport on a laptop screen. Legal copy is long, so give it as much
       of the viewport as is comfortable. */
    height: min(90vh, 1000px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.axionac-legal-header,
.axionac-legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    flex-shrink: 0;
}

.axionac-legal-header {
    border-bottom: 1px solid var(--border-color);
}

.axionac-legal-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/*
 * wp-base.css paints every bare <button> — `button:hover` sets
 * background-color:#3f4047 at (0,1,1), which outranked `.axionac-legal-close`
 * at (0,1,0) and put a dark grey box behind the ×. Qualify with the element
 * name for (0,2,1) and state every interaction explicitly.
 */
button.axionac-legal-close,
button.axionac-legal-close:hover,
button.axionac-legal-close:focus,
button.axionac-legal-close:focus-visible,
button.axionac-legal-close:active {
    border: 0;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-md);
    background-color: transparent;
    color: var(--text-gray);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* A subtle light hover, not the theme's dark slab. */
button.axionac-legal-close:hover,
button.axionac-legal-close:focus-visible {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.axionac-legal-body {
    overflow-y: auto;
    padding: 24px 28px;
}

/* The modal is already narrow; let the copy use its full width in here. */
.axionac-legal-body .legal-content {
    max-width: none;
}

.axionac-legal-body .legal-content h2:first-of-type {
    margin-top: 0;
}

.axionac-legal-footer {
    border-top: 1px solid var(--border-color);
}

.axionac-legal-footer a {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: underline;
}

button.axionac-legal-done,
button.axionac-legal-done:focus,
button.axionac-legal-done:active {
    padding: 9px 20px;
    background-color: var(--primary);
    color: #fff;
    border: 0;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
}

/* Qualified for the same reason as the × above — `button:hover` would
   otherwise repaint this #3f4047 instead of the brand colour. */
button.axionac-legal-done:hover,
button.axionac-legal-done:focus-visible {
    background-color: var(--primary-dark);
    color: #fff;
}

@media (max-width: 640px) {
    .axionac-legal-backdrop { padding: 0; }
    .axionac-legal-dialog {
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
    }
}
