/* ==========================================================================
   JOSTIP SITE — Premium Design System & Modern SaaS Layout
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Brand Colors (Constant) */
    --deep-purple: #0b011d;
    --electric-purple: #6C2BD9;
    --bright-purple: #8B5CF6;
    --light-purple: #C4B5FD;
    --accent-pink: #d946ef;
    --accent-orange: #f97316;
    --white: #ffffff;
    --success: #22c55e;

    /* Theme-Adaptive Semantic Colors (Default: Light Mode) */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --text-main: #0f051d;
    --text-muted: #64748b;
    --border-light: rgba(108, 43, 217, 0.08);
    --card-bg: #ffffff;
    --card-hover-bg: rgba(108, 43, 217, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --faint-purple: rgba(108, 43, 217, 0.04);
    
    /* Scrolled Header Variables */
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-border: rgba(108, 43, 217, 0.08);
    --logo-filter: invert(1) brightness(0.2);

    /* Utils */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(108, 43, 217, 0.02);
    --shadow-md: 0 8px 24px rgba(108, 43, 217, 0.04);
    --shadow-lg: 0 16px 40px rgba(108, 43, 217, 0.06);
    --shadow-xl: 0 24px 60px rgba(108, 43, 217, 0.12);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Mode Configuration --- */
body.dark-mode {
    --bg-main: #070112;
    --bg-secondary: #0f0524;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: rgba(196, 181, 253, 0.08);
    --card-bg: rgba(26, 5, 54, 0.4);
    --card-hover-bg: rgba(139, 92, 246, 0.06);
    --glass-bg: rgba(7, 1, 18, 0.85);
    --faint-purple: rgba(139, 92, 246, 0.08);
    
    --header-bg: rgba(7, 1, 18, 0.85);
    --header-border: rgba(196, 181, 253, 0.08);
    --logo-filter: none;
}

body.light-mode {
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --text-main: #0f051d;
    --text-muted: #64748b;
    --border-light: rgba(108, 43, 217, 0.08);
    --card-bg: #ffffff;
    --card-hover-bg: rgba(108, 43, 217, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --faint-purple: rgba(108, 43, 217, 0.04);
    
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-border: rgba(108, 43, 217, 0.08);
    --logo-filter: invert(1) brightness(0.2);
}

/* --- Reset & Global Defaults --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bright-purple);
}

/* --- Typography --- */
h1, h2, h3, h4, .stat-number, .pricing-price {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--bright-purple) 0%, #c084fc 40%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-text {
    color: var(--text-main) !important;
}

.muted-text {
    color: var(--text-muted) !important;
}

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 8px;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.site-header.scrolled .theme-toggle-btn {
    color: var(--text-main);
    background: var(--faint-purple);
    border-color: var(--border-light);
}

.theme-icon-sun, .theme-icon-moon {
    width: 18px;
    height: 18px;
    display: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-purple) 0%, var(--bright-purple) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bright-purple) 0%, var(--electric-purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 43, 217, 0.45);
}

.btn-white {
    background: var(--white);
    color: var(--electric-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--light-purple);
    background: rgba(255, 255, 255, 0.06);
    color: var(--light-purple);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    padding: 10px 24px;
    background: rgba(11, 2, 29, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    top: 12px;
    width: calc(100% - 32px);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--header-border);
    padding: 8px 24px;
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
}

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

.nav-logo img {
    height: 34px;
    transition: var(--transition);
}

.site-header.scrolled .nav-logo img {
    filter: var(--logo-filter);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.site-header.scrolled .nav-link {
    color: var(--text-muted);
}

.site-header.scrolled .nav-link:hover {
    color: var(--electric-purple);
    background: var(--faint-purple);
}

.nav-btn {
    padding: 8px 18px;
    font-size: 13.5px;
    margin-left: 8px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.site-header.scrolled .mobile-toggle span {
    background: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(160deg, #090117 0%, #15052b 50%, #060010 100%);
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: auto;
    display: block;
}

@media (min-width: 769px) {
    .hero .container {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        align-items: center;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    color: var(--light-purple);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 15px 4px rgba(139, 92, 246, 0.5); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin: 0 0 32px;
    line-height: 1.55;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-subtitle {
        margin: 0 auto 32px;
    }
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 500;
}

.hero-screenshot {
    position: relative;
    z-index: 2;
    margin-top: 0;
    perspective: 1200px;
}

@media (max-width: 768px) {
    .hero-screenshot {
        margin-top: 48px;
    }
}

.hero-screenshot-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: rgba(11, 2, 29, 0.6);
    backdrop-filter: blur(8px);
    padding: 0;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 80px rgba(108, 43, 217, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateX(2deg) rotateY(-2deg);
    transition: var(--transition);
    overflow: hidden;
}

.hero-screenshot-container:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 100px rgba(139, 92, 246, 0.35);
}

.browser-header {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .dot.red { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green { background: #27c93f; }

.browser-address {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 16px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', monospace;
    flex-grow: 1;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-screenshot-container img {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 100%;
    display: block;
}

/* Floating Notification Tags */
.floating-tag {
    position: absolute;
    background: rgba(11, 2, 29, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 10;
    transition: all 0.3s ease;
}

.floating-tag:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.floating-tag.tag-1 {
    top: 12%;
    left: -48px;
    animation-delay: 0s;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.floating-tag.tag-2 {
    bottom: 15%;
    right: -48px;
    animation-delay: 1.5s;
    box-shadow: 0 20px 40px rgba(217, 70, 239, 0.18);
}

.floating-tag.tag-3 {
    top: 52%;
    left: -32px;
    animation-delay: 0.7s;
    box-shadow: 0 20px 40px rgba(108, 43, 217, 0.2);
}

.floating-tag svg {
    flex-shrink: 0;
}

.floating-tag.success-tag {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(5, 46, 22, 0.75);
}

.floating-tag.ai-tag {
    border-color: rgba(217, 70, 239, 0.3);
    background: rgba(74, 4, 78, 0.75);
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 60px 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.stat-item {
    position: relative;
    padding: 10px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-light);
}

.stat-number {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--electric-purple), var(--bright-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   LIVE DEMO SIMULATOR (Tabbed Product View)
   ========================================================================== */
.demo-section {
    padding: 70px 0;
    background: var(--bg-secondary);
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.demo-tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.demo-tab-btn:hover {
    color: var(--electric-purple);
    border-color: rgba(108, 43, 217, 0.3);
    background: var(--faint-purple);
}

.demo-tab-btn.active {
    background: linear-gradient(135deg, var(--electric-purple) 0%, var(--bright-purple) 100%);
    color: var(--white);
    border-color: var(--electric-purple);
    box-shadow: 0 8px 20px rgba(108, 43, 217, 0.25);
}

.demo-tab-content {
    display: none;
    animation: fadeInContent 0.5s ease forwards;
}

.demo-tab-content.active {
    display: block;
}

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

.demo-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.demo-pane-image {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-main);
    padding: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
}

.demo-pane-image img {
    border-radius: var(--radius-md);
    width: 100%;
    display: block;
}

.demo-pane-text {
    padding-left: 12px;
}

.demo-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--faint-purple);
    color: var(--electric-purple);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 1px solid rgba(108, 43, 217, 0.1);
}

.demo-pane-text h3 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.demo-pane-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.demo-bullets {
    margin-top: 20px;
}

.demo-bullets li {
    margin-bottom: 14px;
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 14.5px;
}

.demo-bullets li strong {
    color: var(--text-main);
}

.demo-bullets li span.check {
    background: var(--faint-purple);
    color: var(--electric-purple);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

/* ==========================================================================
   SHOWCASE SECTIONS (General)
   ========================================================================== */
.showcase-section {
    padding: 70px 0;
    background: var(--bg-main);
}

.showcase-section.alt-bg {
    background: var(--bg-secondary);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse > * {
    direction: ltr;
}

.showcase-text {
    max-width: 480px;
}

.section-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--electric-purple);
    background: var(--faint-purple);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(108, 43, 217, 0.08);
}

.section-tag-ai {
    background: rgba(217, 70, 239, 0.06);
    color: var(--accent-pink);
    border-color: rgba(217, 70, 239, 0.12);
}

body.dark-mode .section-tag-ai {
    background: rgba(217, 70, 239, 0.15);
    color: #f5d0fe;
}

.showcase-text h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 18px;
}

.showcase-text p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.showcase-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.showcase-image img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.showcase-ai-section {
    background: linear-gradient(to bottom, var(--faint-purple), var(--bg-main));
    position: relative;
}

/* ==========================================================================
   FEATURES SECTION WITH CATEGORIES FILTER
   ========================================================================== */
.features-section {
    padding: 70px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 30px;
}

.section-header h2 {
    font-size: clamp(30px, 3.8vw, 40px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Category Filters */
.feature-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.filter-btn:hover {
    color: var(--electric-purple);
    border-color: rgba(108, 43, 217, 0.2);
}

.filter-btn.active {
    background: var(--electric-purple);
    color: var(--white);
    border-color: var(--electric-purple);
    box-shadow: var(--shadow-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: var(--transition);
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: block;
}

/* Card visibility with filters */
.feature-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

body.dark-mode .feature-card {
    background: rgba(26, 5, 54, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 43, 217, 0.25);
    background: var(--card-hover-bg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--faint-purple);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--electric-purple);
    border: 1px solid rgba(108, 43, 217, 0.05);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PRICING SECTION WITH MONTHLY/ANNUAL TOGGLE
   ========================================================================== */
.pricing-section {
    padding: 70px 0;
    background: var(--bg-main);
}

/* Toggle Switch Styling */
.pricing-switcher-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pricing-switcher-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.pricing-switcher-label.active {
    color: var(--text-main);
}

.pricing-switcher-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--border-light);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-switcher-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--electric-purple);
    border-radius: 50%;
    transition: var(--transition);
}

.pricing-switcher-toggle.annual::before {
    transform: translateX(28px);
}

.pricing-discount-badge {
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 880px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

body.dark-mode .pricing-card {
    background: rgba(26, 5, 54, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(108, 43, 217, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(160deg, #090117 0%, #1a053c 100%);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 60px rgba(108, 43, 217, 0.2);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1.5px;
    background: linear-gradient(135deg, var(--bright-purple), var(--accent-pink));
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.pricing-card.featured * {
    color: var(--white);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: linear-gradient(135deg, var(--electric-purple), var(--bright-purple));
    color: var(--white);
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-card.featured .pricing-plan-name {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
    font-size: 52px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 800;
    align-self: flex-start;
    margin-right: 2px;
}

.pricing-price .time-label {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.6;
    margin-left: 6px;
}

.pricing-period {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 500;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 11px 0;
    font-size: 14.5px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pricing-features li::before {
    content: '✓';
    font-weight: 800;
    color: var(--electric-purple);
    font-size: 14px;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--success);
}

.pricing-features li .highlight {
    background: var(--faint-purple);
    color: var(--electric-purple);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
}

.pricing-card.featured .pricing-features li .highlight {
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-purple);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.featured .btn-primary {
    background: var(--white);
    color: var(--electric-purple);
    box-shadow: none;
}

.pricing-card.featured .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
    padding: 70px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.faq-max {
    max-width: 780px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

body.dark-mode .faq-item {
    background: rgba(26, 5, 54, 0.3);
    border-color: rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

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

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Active FAQ states */
.faq-item.active {
    border-color: rgba(108, 43, 217, 0.25);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--electric-purple);
}

/* ==========================================================================
   DIAN HIGH-FIDELITY BANNER (CO version specific)
   ========================================================================== */
.dian-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #070112 0%, #15052e 50%, #070112 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dian-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.dian-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dian-text h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.dian-text h2 .dian-green {
    color: #22c55e;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dian-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 28px;
}

.dian-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dian-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 8px 16px;
    border-radius: 100px;
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
}

.dian-badge svg {
    width: 15px;
    height: 15px;
}

.dian-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #090117 0%, #200744 50%, #090117 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.6;
}

.cta-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 500;
    margin-top: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 50px 0 25px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-light);
}

body.dark-mode .site-footer {
    background: #04010b;
}

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

.footer-brand img {
    height: 32px;
    margin-bottom: 16px;
}

body.dark-mode .footer-brand img {
    filter: none;
}

body.light-mode .footer-brand img {
    filter: var(--logo-filter);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--faint-purple);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--electric-purple);
    color: var(--white);
    border-color: var(--electric-purple);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--electric-purple);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--electric-purple);
    font-weight: 600;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (Pulsating animation)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: wavePulse 2.5s infinite;
}

@keyframes wavePulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   NATIVE REVEAL ANIMATIONS (IntersectionObserver-based)
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.animate-on-scroll.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.4s; }
.animate-on-scroll.delay-6 { transition-delay: 0.48s; }

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptive Layout Scale)
   ========================================================================== */
@media (max-width: 1100px) {
    .demo-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .demo-pane-text {
        padding-left: 0;
        text-align: center;
    }
    
    .demo-bullets li {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    
    .site-header .nav-link {
        display: none;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 100000;
    }

    /* Mobile Overlay Menu Slide */
    .nav-actions {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-main);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 99999;
        padding: 40px;
        overflow-y: auto;
    }
    
    body.dark-mode .nav-actions {
        background-color: #070112;
    }

    .nav-actions.open {
        display: flex;
        animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-actions.open .nav-link {
        display: block;
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        color: var(--text-main);
    }

    .nav-actions.open .btn {
        width: 100%;
        max-width: 280px;
        margin-top: 8px;
    }

    .hero {
        padding: 120px 0 50px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-screenshot {
        margin-top: 40px;
    }

    .floating-tag {
        display: none; /* Hide float tags on mobile to avoid layout breaking */
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }

    .showcase-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-row.reverse {
        direction: ltr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .dian-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-card {
        padding: 32px 24px;
    }
    
    .demo-tab-btn {
        padding: 10px 18px;
        font-size: 13.5px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

body.no-scroll {
    overflow: hidden;
}