/*
Theme Name: NexSaS - Orbital Telecom
Theme URI: https://nexsas.com
Author: Kimi
Author URI: https://kimi.com
Description: A lightweight, dark-themed WordPress theme for space-enabled telecommunications and intelligent connectivity. Fully compatible with Elementor page builder. Features include hero sections, services grids, stats dashboards, FAQ accordions, and smooth animations.
Version: 1.2.6
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexsas
Domain Path: /languages
Tags: elementor, dark-theme, ai, gadgets, technology, one-page, responsive, custom-colors, custom-logo, custom-menu, featured-images, translation-ready

Elementor Compatibility: 3.0+
Elementor Pro Compatibility: 3.0+
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables & Base
   2. Typography
   3. Layout & Grid
   4. Navigation
   5. Hero Section
   6. Logo Bar
   7. Product Description
   8. Stats Dashboard
   9. Services
   10. How It Works
   11. Testimonials
   12. Pricing
   13. FAQ
   14. CTA Section
   15. Footer
   16. Elementor Widgets
   17. Animations
   18. Responsive
   ============================================ */

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

:root {
    /* Colors */
    --nexsas-black: #000000;
    --nexsas-dark: #0a0a0a;
    --nexsas-white: #ffffff;
    --nexsas-white-70: rgba(255, 255, 255, 0.7);
    --nexsas-white-50: rgba(255, 255, 255, 0.5);
    --nexsas-white-10: rgba(255, 255, 255, 0.1);
    --nexsas-white-05: rgba(255, 255, 255, 0.05);
    --nexsas-purple: #2563eb;
    --nexsas-purple-400: #22d3ee;
    --nexsas-purple-300: #67e8f9;
    --nexsas-purple-20: rgba(37, 99, 235, 0.2);
    --nexsas-green: #34d399;
    --nexsas-green-20: rgba(52, 211, 153, 0.2);
    --nexsas-cyan-10: rgba(34, 211, 238, 0.10);
    --nexsas-blue-10: rgba(37, 99, 235, 0.10);
    --nexsas-accent-gradient: linear-gradient(135deg, rgba(34, 211, 238, 1), rgba(37, 99, 235, 1));
    --nexsas-accent-gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(37, 99, 235, 0.14));
    
    /* Glass Effect */
    --nexsas-glass-bg: rgba(255, 255, 255, 0.03);
    --nexsas-glass-border: rgba(255, 255, 255, 0.08);
    --nexsas-glass-blur: 20px;
    
    /* Typography */
    --nexsas-font: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --nexsas-section-padding: 96px;
    --nexsas-container-max: 1280px;
    --nexsas-border-radius: 24px;
    
    /* Transitions */
    --nexsas-transition-fast: 0.2s ease;
    --nexsas-transition-medium: 0.3s ease;
    --nexsas-transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --nexsas-glow-purple: 0 0 40px rgba(37, 99, 235, 0.3);
    --nexsas-glow-subtle: 0 0 20px rgba(34, 211, 238, 0.15);
    --nexsas-shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --nexsas-logo-max-height: 40px;
    --nexsas-logo-max-width: 220px;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--nexsas-font);
    background-color: var(--nexsas-black);
    color: var(--nexsas-white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(800px 500px at 20% 10%, rgba(34, 211, 238, 0.08), transparent 60%),
        radial-gradient(700px 500px at 80% 20%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(600px 500px at 60% 80%, rgba(52, 211, 153, 0.06), transparent 60%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.01)),
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.55), transparent 2px),
        radial-gradient(1px 1px at 35% 70%, rgba(255, 255, 255, 0.35), transparent 2px),
        radial-gradient(1px 1px at 60% 30%, rgba(255, 255, 255, 0.45), transparent 2px),
        radial-gradient(1px 1px at 75% 60%, rgba(255, 255, 255, 0.3), transparent 2px),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.4), transparent 2px);
    opacity: 0.9;
}

.site-main {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nexsas-font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--nexsas-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

body.nexsas-homepage .entry-content h1,
body.nexsas-homepage .entry-content h2,
body.nexsas-homepage .entry-content h3,
body.nexsas-homepage .entry-content h4,
body.nexsas-homepage .entry-content h5,
body.nexsas-homepage .entry-content h6,
body.nexsas-homepage .entry-content p {
    margin: 0;
}

body.nexsas-homepage .entry-content ul,
body.nexsas-homepage .entry-content ol {
    margin: 0;
    padding: 0;
}

body.nexsas-homepage .entry-content li {
    margin: 0;
}

a {
    color: var(--nexsas-purple-400);
    text-decoration: none;
    transition: color var(--nexsas-transition-fast);
}

a:hover {
    color: var(--nexsas-purple-300);
}

/* ============================================
   3. LAYOUT & GRID
   ============================================ */
.nexsas-container {
    max-width: var(--nexsas-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nexsas-section {
    padding: var(--nexsas-section-padding) 0;
    position: relative;
}

.nexsas-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.nexsas-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.nexsas-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(var(--nexsas-logo-max-height) * 0.2) 0;
    transition: all 0.5s ease;
    background: transparent;
}

.nexsas-nav.scrolled {
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: calc(var(--nexsas-logo-max-height) * 0.2) 0;
}

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

.nexsas-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nexsas-white);
}

.nexsas-logo-custom {
    gap: 12px;
}

.nexsas-logo-custom .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: var(--nexsas-logo-max-width);
    position: static;
    line-height: 0;
}

.nexsas-logo-custom .custom-logo {
    display: block;
    height: auto;
    width: auto;
    max-height: var(--nexsas-logo-max-height);
    max-width: var(--nexsas-logo-max-width);
    position: static;
}

.nexsas-logo-custom a:hover {
    color: inherit;
}

.custom-logo-link img.custom-logo {
    max-height: var(--nexsas-logo-max-height) !important;
    max-width: var(--nexsas-logo-max-width) !important;
    height: auto !important;
    width: auto !important;
    position: static !important;
}

.nexsas-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--nexsas-accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.nexsas-logo:hover .nexsas-logo-icon {
    transform: scale(1.1);
}

.nexsas-logo-icon svg {
    width: 20px;
    height: 20px;
    color: rgba(0, 0, 0, 0.85);
}

.nexsas-nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nexsas-nav-toggle {
    width: clamp(44px, calc(var(--nexsas-logo-max-height) + 12px), 72px);
    height: clamp(44px, calc(var(--nexsas-logo-max-height) + 12px), 72px);
    border-radius: 14px;
    border: 1px solid var(--nexsas-glass-border);
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    color: var(--nexsas-white);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--nexsas-transition-fast), background var(--nexsas-transition-fast);
}

.nexsas-nav-toggle:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.06);
}

.nexsas-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--nexsas-transition-medium);
    z-index: 999;
}

.nexsas-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 92vw);
    background: rgba(10, 10, 10, 0.9);
    border-left: 1px solid var(--nexsas-glass-border);
    transform: translateX(110%);
    transition: transform var(--nexsas-transition-slow);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nexsas-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
}

.nexsas-mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--nexsas-glass-border);
    background: var(--nexsas-glass-bg);
    color: var(--nexsas-white);
    cursor: pointer;
}

.nexsas-mobile-menu-body {
    padding: 8px 18px 24px;
    overflow: auto;
}

.nexsas-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    display: grid;
    gap: 6px;
}

.nexsas-mobile-nav-menu a {
    display: block;
    padding: 14px 14px;
    border-radius: 16px;
    color: var(--nexsas-white);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--nexsas-transition-fast), transform var(--nexsas-transition-fast);
}

.nexsas-mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.nexsas-mobile-cta {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

body.nexsas-mobile-menu-open {
    overflow: hidden;
}

body.nexsas-mobile-menu-open .nexsas-mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nexsas-mobile-menu-open .nexsas-mobile-menu {
    transform: translateX(0);
}

.nexsas-nav-menu a {
    color: var(--nexsas-white-70);
    font-size: 0.875rem;
    position: relative;
    transition: color var(--nexsas-transition-fast);
}

.nexsas-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nexsas-white);
    transition: width 0.3s ease;
}

.nexsas-nav-menu a:hover {
    color: var(--nexsas-white);
}

.nexsas-nav-menu a:hover::after {
    width: 100%;
}

.nexsas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: none;
}

.nexsas-btn-primary {
    background: var(--nexsas-accent-gradient);
    color: var(--nexsas-white);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.25);
}

.nexsas-btn-primary:hover {
    transform: translateY(-1px) scale(1.03);
    color: var(--nexsas-white);
    box-shadow: 0 22px 60px rgba(34, 211, 238, 0.18), 0 22px 60px rgba(37, 99, 235, 0.22);
}

.nexsas-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--nexsas-white);
}

.nexsas-btn-outline:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(34, 211, 238, 0.45);
    color: var(--nexsas-white);
}

.nexsas-btn-purple {
    background: var(--nexsas-accent-gradient);
    color: var(--nexsas-white);
    box-shadow: var(--nexsas-glow-subtle);
}

.nexsas-btn-purple:hover {
    transform: scale(1.05);
    color: var(--nexsas-white);
    box-shadow: var(--nexsas-glow-purple);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.nexsas-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.nexsas-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 600px at 20% 25%, rgba(34, 211, 238, 0.14), transparent 60%),
        radial-gradient(800px 560px at 80% 35%, rgba(37, 99, 235, 0.18), transparent 60%),
        repeating-linear-gradient(to right, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 72px),
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 72px),
        linear-gradient(to bottom, rgba(37, 99, 235, 0.12), transparent, var(--nexsas-black));
    pointer-events: none;
}

.nexsas-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.3;
}

.nexsas-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--nexsas-purple);
    top: 20%;
    left: 20%;
    animation: nexsas-float 5s ease-in-out infinite;
}

.nexsas-hero-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--nexsas-purple);
    bottom: 20%;
    right: 10%;
    animation: nexsas-float 5s ease-in-out infinite 2s;
}

.nexsas-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
}

.nexsas-hero-title {
    margin-bottom: 24px;
    font-weight: 700;
}

.nexsas-gradient-text {
    background: var(--nexsas-accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nexsas-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 9999px;
    background: var(--nexsas-accent-gradient-soft);
    border: 1px solid rgba(34, 211, 238, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nexsas-section-heading {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.nexsas-hero-subtitle {
    font-size: 1.125rem;
    color: var(--nexsas-white-70);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.nexsas-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.nexsas-hero-image {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
    animation: nexsas-float 5s ease-in-out infinite;
}

.nexsas-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(37, 99, 235, 0.35));
}

.nexsas-illustration-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
}

.nexsas-illustration-hero {
    filter: drop-shadow(0 24px 70px rgba(34, 211, 238, 0.22)) saturate(1.15) contrast(1.05);
}

.nexsas-illustration-about,
.nexsas-illustration-mission {
    filter: drop-shadow(0 18px 50px rgba(37, 99, 235, 0.20)) saturate(1.08);
}

.nexsas-hero-visual,
.nexsas-illustration {
    width: 100%;
    aspect-ratio: 72 / 52;
    min-height: clamp(220px, 32vw, 420px);
    display: block;
    border-radius: 28px;
    background:
        radial-gradient(340px 240px at 30% 30%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(360px 260px at 70% 40%, rgba(37, 99, 235, 0.22), transparent 60%),
        radial-gradient(280px 220px at 55% 70%, rgba(52, 211, 153, 0.10), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.nexsas-hero-visual::before,
.nexsas-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent 2px),
        radial-gradient(1px 1px at 42% 70%, rgba(255, 255, 255, 0.55), transparent 2px),
        radial-gradient(1px 1px at 78% 28%, rgba(255, 255, 255, 0.45), transparent 2px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0.9;
}

.nexsas-hero-visual::after {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.18), transparent 45%),
        conic-gradient(from 180deg, rgba(34, 211, 238, 0.22), rgba(37, 99, 235, 0.18), rgba(34, 211, 238, 0.22));
    filter: blur(30px);
    opacity: 0.55;
    transform: rotate(12deg);
}

.nexsas-illustration--mesh {
    aspect-ratio: 64 / 42;
}

.nexsas-illustration--orbit {
    aspect-ratio: 68 / 42;
}

.nexsas-hero-illustration svg,
.nexsas-inline-illustration svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 50px rgba(34, 211, 238, 0.18));
}

.nexsas-mt-6 { margin-top: 24px; }

/* ============================================
   6. LOGO BAR
   ============================================ */
.nexsas-logo-bar {
    padding: 48px 0;
    border-top: 1px solid var(--nexsas-white-05);
    border-bottom: 1px solid var(--nexsas-white-05);
    overflow: hidden;
}

.nexsas-logo-track {
    display: flex;
    animation: nexsas-scroll-left 30s linear infinite;
    width: max-content;
}

.nexsas-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    color: var(--nexsas-white-50);
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
}

.nexsas-logo-item svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

/* ============================================
   7. PRODUCT DESCRIPTION
   ============================================ */
.nexsas-product-desc {
    position: relative;
}

.nexsas-product-desc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.nexsas-product-desc-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.nexsas-product-desc-text .highlight {
    color: var(--nexsas-purple-400);
}

.nexsas-product-desc-image {
    position: relative;
}

.nexsas-product-desc-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    animation: nexsas-float 5s ease-in-out infinite 1s;
}

/* ============================================
   8. STATS DASHBOARD
   ============================================ */
.nexsas-glass-card {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: var(--nexsas-border-radius);
    padding: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nexsas-glass-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: radial-gradient(600px 240px at 30% 10%, rgba(34, 211, 238, 0.10), transparent 60%),
                radial-gradient(600px 240px at 70% 90%, rgba(37, 99, 235, 0.12), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.nexsas-glass-card > * {
    position: relative;
    z-index: 1;
}

.nexsas-glass-card:hover {
    transform: scale(1.02);
}

.nexsas-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nexsas-stats-card-wide {
    grid-column: span 2;
}

.nexsas-stats-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nexsas-white-50);
    margin-bottom: 8px;
}

.nexsas-stats-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.nexsas-stats-subvalue {
    font-size: 1.25rem;
    color: var(--nexsas-green);
}

.nexsas-about-card {
    margin-top: 24px;
}

.nexsas-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nexsas-about-image img {
    width: 100%;
    border-radius: 16px;
}

/* ============================================
   9. SERVICES
   ============================================ */
.nexsas-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nexsas-service-card {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: var(--nexsas-border-radius);
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nexsas-service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
}

.nexsas-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 240px at 30% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
                radial-gradient(520px 240px at 70% 100%, rgba(37, 99, 235, 0.12), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity var(--nexsas-transition-medium);
}

.nexsas-service-card:hover::before {
    opacity: 0.9;
}

.nexsas-service-card > * {
    position: relative;
    z-index: 1;
}

.nexsas-service-icon {
    width: 48px;
    height: 48px;
    background: var(--nexsas-accent-gradient-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.16);
}

.nexsas-service-card:hover .nexsas-service-icon {
    background: rgba(34, 211, 238, 0.18);
}

.nexsas-service-icon svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.nexsas-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nexsas-checklist li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: rgba(255, 255, 255, 0.72);
}

.nexsas-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 6px;
    background: var(--nexsas-accent-gradient-soft);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.nexsas-service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.nexsas-service-desc {
    font-size: 0.875rem;
    color: var(--nexsas-white-70);
}

/* ============================================
   10. HOW IT WORKS
   ============================================ */
.nexsas-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.nexsas-step-card {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: var(--nexsas-border-radius);
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nexsas-step-card:hover {
    transform: translateY(-10px);
}

.nexsas-step-number {
    width: 64px;
    height: 64px;
    background: var(--nexsas-purple-20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nexsas-purple-400);
}

.nexsas-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.nexsas-step-desc {
    font-size: 0.9375rem;
    color: var(--nexsas-white-70);
}

/* ============================================
   11. TESTIMONIALS
   ============================================ */
.nexsas-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nexsas-testimonial-card {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: var(--nexsas-border-radius);
    padding: 28px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexsas-testimonial-card:hover {
    transform: scale(1.03);
}

.nexsas-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.nexsas-testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #fbbf24;
    color: #fbbf24;
}

.nexsas-testimonial-text {
    font-size: 0.875rem;
    color: var(--nexsas-white-70);
    line-height: 1.6;
    margin-bottom: 20px;
}

.nexsas-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nexsas-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nexsas-testimonial-name {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   12. PRICING
   ============================================ */
.nexsas-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.nexsas-pricing-card {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: var(--nexsas-border-radius);
    padding: 40px 32px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexsas-pricing-card:hover {
    transform: translateY(-5px);
}

.nexsas-pricing-card-featured {
    background: var(--nexsas-purple-20);
    border: 2px solid rgba(124, 58, 237, 0.5);
    transform: scale(1.05);
    box-shadow: var(--nexsas-glow-purple);
}

.nexsas-pricing-card-featured:hover {
    transform: scale(1.08);
}

.nexsas-pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.nexsas-pricing-desc {
    font-size: 0.875rem;
    color: var(--nexsas-white-70);
    margin-bottom: 24px;
}

.nexsas-pricing-price {
    margin-bottom: 32px;
}

.nexsas-pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.nexsas-pricing-period {
    font-size: 0.875rem;
    color: var(--nexsas-white-50);
}

.nexsas-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.nexsas-pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--nexsas-white-70);
}

.nexsas-pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--nexsas-purple-400);
    flex-shrink: 0;
}

.nexsas-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.nexsas-toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nexsas-toggle-switch.active {
    background: var(--nexsas-purple);
}

.nexsas-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--nexsas-white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nexsas-toggle-switch.active .nexsas-toggle-knob {
    transform: translateX(28px);
}

.nexsas-save-badge {
    padding: 4px 12px;
    background: var(--nexsas-green-20);
    color: var(--nexsas-green);
    font-size: 0.75rem;
    border-radius: 9999px;
}

/* ============================================
   13. FAQ
   ============================================ */
.nexsas-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.nexsas-faq-item {
    background: var(--nexsas-glass-bg);
    backdrop-filter: blur(var(--nexsas-glass-blur));
    -webkit-backdrop-filter: blur(var(--nexsas-glass-blur));
    border: 1px solid var(--nexsas-glass-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.nexsas-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nexsas-faq-question:hover {
    color: var(--nexsas-purple-400);
}

.nexsas-faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
}

.nexsas-faq-item.active .nexsas-faq-question svg {
    transform: rotate(180deg);
}

.nexsas-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.3s ease;
    opacity: 0;
}

.nexsas-faq-item.active .nexsas-faq-answer {
    max-height: 500px;
    opacity: 1;
}

.nexsas-faq-answer-inner {
    padding: 0 32px 24px;
    color: var(--nexsas-white-70);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   14. CTA SECTION
   ============================================ */
.nexsas-cta {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.nexsas-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(0, 0, 0, 0.8), rgba(124, 58, 237, 0.1));
    background-size: 200% 200%;
    animation: nexsas-gradient-shift 10s ease infinite;
}

.nexsas-cta-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    top: 50%;
    transform: translateY(-50%);
}

.nexsas-cta-orb-1 { left: 20%; }
.nexsas-cta-orb-2 { right: 20%; }

.nexsas-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   15. FOOTER
   ============================================ */
.nexsas-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--nexsas-white-05);
}

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

.nexsas-footer-brand {
    font-size: 0.875rem;
    color: var(--nexsas-white-50);
    max-width: 300px;
    margin: 16px 0 24px;
}

.nexsas-social-links {
    display: flex;
    gap: 12px;
}

.nexsas-social-link {
    width: 40px;
    height: 40px;
    background: var(--nexsas-white-05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nexsas-social-link:hover {
    background: var(--nexsas-white-10);
    transform: scale(1.1);
}

.nexsas-social-link svg {
    width: 16px;
    height: 16px;
    color: var(--nexsas-white-50);
}

.nexsas-footer-column h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.nexsas-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nexsas-footer-links li {
    margin-bottom: 12px;
}

.nexsas-footer-links a {
    font-size: 0.875rem;
    color: var(--nexsas-white-50);
    transition: color 0.2s ease;
}

.nexsas-footer-links a:hover {
    color: var(--nexsas-white);
}

.nexsas-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--nexsas-white-05);
    text-align: center;
    font-size: 0.875rem;
    color: var(--nexsas-white-50);
}

/* ============================================
   16. ELEMENTOR WIDGETS
   ============================================ */

/* Elementor Section Override */
.elementor-section.nexsas-dark-section {
    background-color: var(--nexsas-black) !important;
}

/* Elementor Widget Styling */
.elementor-widget-nexsas-hero .nexsas-hero {
    min-height: 100vh;
}

.elementor-widget-nexsas-pricing-card .nexsas-pricing-card {
    height: 100%;
}

/* Elementor Editor Mode Adjustments */
body.elementor-editor-active .nexsas-nav {
    position: relative;
}

body.elementor-editor-active .nexsas-hero {
    min-height: auto;
    padding: 60px 0;
}

/* Elementor Container Compatibility */
.elementor .nexsas-container {
    max-width: var(--nexsas-container-max);
}

/* Elementor Frontend Styles */
.elementor-widget-wrap .nexsas-glass-card,
.elementor-widget-wrap .nexsas-service-card,
.elementor-widget-wrap .nexsas-step-card,
.elementor-widget-wrap .nexsas-testimonial-card,
.elementor-widget-wrap .nexsas-pricing-card {
    height: 100%;
}

/* ============================================
   17. ANIMATIONS
   ============================================ */
@keyframes nexsas-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes nexsas-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
    }
}

@keyframes nexsas-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes nexsas-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes nexsas-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nexsas-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal Animation */
.nexsas-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexsas-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.nexsas-reveal-delay-1 { transition-delay: 0.1s; }
.nexsas-reveal-delay-2 { transition-delay: 0.2s; }
.nexsas-reveal-delay-3 { transition-delay: 0.3s; }
.nexsas-reveal-delay-4 { transition-delay: 0.4s; }
.nexsas-reveal-delay-5 { transition-delay: 0.5s; }
.nexsas-reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   18. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nexsas-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nexsas-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nexsas-stats-card-wide {
        grid-column: span 2;
    }
    
    .nexsas-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nexsas-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nexsas-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nexsas-section-padding: 56px;
    }

    .nexsas-container {
        padding: 0 16px;
    }
    
    .nexsas-grid-2,
    .nexsas-grid-3,
    .nexsas-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .nexsas-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-stats-card-wide {
        grid-column: span 1;
    }
    
    .nexsas-services-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-pricing-card-featured {
        transform: none;
        order: -1;
    }
    
    .nexsas-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .nexsas-nav-menu {
        display: none;
    }

    .nexsas-nav-toggle {
        display: inline-flex;
    }

    .nexsas-nav-inner > .nexsas-btn {
        display: none;
    }

    .nexsas-hero {
        padding-top: 0;
        padding-bottom: 64px;
    }

    .nexsas-hero-content {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 104px;
    }

    .nexsas-hero-image {
        padding-left: 24px;
        padding-right: 24px;
    }

    .nexsas-mobile-menu-header {
        padding: 16px 16px;
    }

    .nexsas-mobile-menu-body {
        padding: 6px 16px 20px;
    }
    
    .nexsas-product-desc-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-about-grid {
        grid-template-columns: 1fr;
    }
    
    .nexsas-hero-title {
        font-size: 2.5rem;
    }
}

/* Utility classes used by Elementor widgets */
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.1em; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-8 { width: 32px; }
.h-px { height: 1px; }
.rounded { border-radius: 10px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-10 { margin-bottom: 40px; }
.mb-16 { margin-bottom: 64px; }
.mt-10 { margin-top: 40px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.rounded-full { border-radius: 9999px; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-white\/50 { color: var(--nexsas-white-50); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/70 { color: var(--nexsas-white-70); }
.text-purple-400 { color: var(--nexsas-purple-400); }
.bg-purple-500\/20 { background: var(--nexsas-purple-20); }
.bg-white\/10 { background: var(--nexsas-white-10); }
.bg-white\/20 { background: rgba(255, 255, 255, 0.2); }
.top-1\/2 { top: 50%; }
.-right-4 { right: -16px; }

@media (min-width: 768px) {
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:block { display: block; }
}

/* ============================================
   WORDPRESS DEFAULTS OVERRIDES
   ============================================ */
/* Remove default WordPress margins */
body {
    margin: 0;
    padding: 0;
}

/* Content width for WordPress */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}

/* WordPress alignment */
.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Gallery fix */
.gallery {
    display: grid;
    gap: 16px;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Sticky post */
.sticky {
    position: relative;
}

/* Bypostauthor */
.bypostauthor {
    font-weight: 600;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .nexsas-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--nexsas-purple);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(124, 58, 237, 0.3);
    color: var(--nexsas-white);
}
